Commit Graph

1982 Commits

Author SHA1 Message Date
Exists c7a21b7a84 Formatting 2021-04-14 14:28:44 -04:00
Exists 3b41656c09 Rework channel clone tests
- Removed previous channel clone test
- Copied over create channel tests and modified `ifItFailsBlameWolf` to check against a clone instead of created
2021-04-14 14:14:37 -04:00
Exists fea973b346 Editing return type on channel clone method
Changed return type of `clone` to reflect `cloneChannel`. Removed unused import for `createChannel`.
2021-04-14 13:33:08 -04:00
Exists 3088cc0693 Convert overwrites
- Removed integration in createChannel
- Converting from DiscordOverwrite to Overwrite in cloneChannel function
2021-04-14 13:28:59 -04:00
Exists 215141171a Fix formatting (deno fmt) 2021-04-14 13:09:47 -04:00
Exists ce36477426 Merge branch 'main' of https://github.com/existentiality/discordeno into main 2021-04-14 13:06:34 -04:00
Exists 3d5bdc4605 Suggested changes to cloneChannel
- Removed name check
- Added DM channel check
2021-04-14 13:06:21 -04:00
Exists d3ed1e03e7 Formatting Changes
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-14 11:41:57 -05:00
Skillz4Killz ef88a57a38 Update src/helpers/channels/clone_channel.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-14 08:47:46 -04:00
Skillz4Killz 4183ffd21d Update src/helpers/channels/clone_channel.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-14 08:47:21 -04:00
Skillz4Killz 6063bc0aff Update src/helpers/channels/clone_channel.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-14 08:46:18 -04:00
Skillz4Killz 084d149598 Update src/helpers/channels/clone_channel.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-14 08:46:02 -04:00
Exists bfb3502252 Fix Linting Issue 2021-04-14 04:09:00 -04:00
Exists 1a1ef34a96 Add channel cloning
Changes:
    - Added function cloneChannel
    - Modified createChannel to support cloneChannel
   - Added clone(reason) method on channel structure
    - Added channel cloning tests
2021-04-14 04:01:35 -04:00
ITOH f31216d0a4 add DISCORDENO_VERSION 2021-04-13 21:59:13 +02:00
ITOH c358d4f932 use proper invite types 2021-04-13 21:58:57 +02:00
Skillz4Killz c85b76cd18 fix: remove extra loops (#848)
* fix: remove extra loops

Co-authored-by: Skillz4Killz <Skillz4Killz@users.noreply.github.com>
2021-04-13 19:36:23 +01:00
Skillz4Killz da3f99cb2c Merge pull request #847 from discordeno/fix-return-type-collections
fix: return types [] => Collection
2021-04-13 14:18:02 -04:00
Skillz4Killz c08cc83186 Merge branch 'fix-return-type-collections' of https://github.com/discordeno/discordeno into fix-return-type-collections 2021-04-13 17:59:34 +00:00
Skillz4Killz 9446960bb0 deno fmt 2021-04-13 17:59:19 +00:00
Skillz4Killz 1cca9a6cb4 2021-04-13 17:54:13 +00:00
Skillz4Killz c2f2afb211 fix: return types [] => Collection 2021-04-13 17:53:49 +00:00
Skillz4Killz dc9615bb8a feat: slash dm (#846)
* chore: cleanup comments

* feat: slash in dm and better event args

Co-authored-by: Skillz4Killz <Skillz4Killz@users.noreply.github.com>
2021-04-13 18:28:31 +01:00
ITOH f8d6a74948 Merge branch 'main' of https://github.com/discordeno/discordeno into main 2021-04-13 19:02:43 +02:00
ITOH 12f9f3c360 fix enums 2021-04-13 19:02:40 +02:00
ITOH 852dca33bf InteractionResponseTypes => DiscordInteractionResponseTypes 2021-04-13 19:02:29 +02:00
Skillz4Killz a7e3ca37a2 Merge pull request #845 from discordeno/feat-validate-length
feat: add validateLength util
2021-04-13 12:50:27 -04:00
Skillz4Killz b610d06c5f 2021-04-13 16:46:32 +00:00
Skillz4Killz d746622681 feat: add validateLength util 2021-04-13 16:45:39 +00:00
Skillz4Killz 72618947f0 feat: implement gateway queue (#844)
* feat: implement gateway queue

* process queues when adding to queue

* fix: tests fixed ready for review

* handle shard closed

Co-authored-by: Skillz4Killz <Skillz4Killz@users.noreply.github.com>
2021-04-13 17:29:35 +01:00
Skillz4Killz 16a5ac684a Merge pull request #843 from TriForMine/main
fix(tests): fix typescripts errors
2021-04-13 11:10:20 -04:00
TriForMine e90fbac193 Update tests/messages/create_message.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-13 14:42:41 +02:00
TriForMine 331f63563e Update tests/messages/create_message.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-13 14:42:34 +02:00
TriForMine 951d5668fc Update tests/messages/create_message.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-13 14:42:28 +02:00
TriForMine 2651f7e47a Update tests/messages/create_message.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-13 14:42:23 +02:00
TriForMine ee15c0ef1e Update tests/messages/create_message.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-13 14:42:18 +02:00
TriForMine 9d112ed585 Update tests/messages/create_message.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-13 14:42:12 +02:00
TriForMine 47d8e2b19f Update tests/messages/create_message.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-13 14:42:05 +02:00
ITOH 2088df100e fix(rest): processRateLimitedPaths use continue instead of return 2021-04-13 14:32:47 +02:00
TriForMine 357ab24875 Update tests/messages/create_message.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-13 13:53:48 +02:00
TriForMine c32fa4ec34 Update tests/messages/create_message.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-13 13:53:43 +02:00
TriForMine 7b53f5fe85 Update tests/messages/create_message.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-13 13:53:37 +02:00
TriForMine f103c733f4 Update tests/messages/create_message.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-13 13:53:27 +02:00
TriForMine 18a20f0cbf Update tests/channels/channel_overwrite_has_permission.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-04-13 13:53:16 +02:00
TriForMine a881f6b17c 2021-04-13 11:47:36 +00:00
TriForMine 0f8ca1dec2 fix(handlers): add if payload.mentions 2021-04-13 13:47:06 +02:00
TriForMine b8ef1b7a2c Merge branch 'fix-typescript' 2021-04-13 13:43:04 +02:00
TriForMine b7fd8b6ee7 fix(tests): fix typescripts errors 2021-04-13 13:42:36 +02:00
TriForMine 99070b9f9c Merge branch 'main' of https://github.com/TriForMine/discordeno 2021-04-13 13:38:20 +02:00
ITOH 9b11d390e9 only call processRateLimitedPaths when processing is false 2021-04-13 12:50:03 +02:00