Commit Graph

1969 Commits

Author SHA1 Message Date
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
ITOH 81d34c14d2 response error should use reject 2021-04-13 11:49:37 +02:00
ITOH 851b280c87 message content & mentions & mentionRoles can be undefined 2021-04-13 11:44:43 +02:00
ITOH 6a5307aaab rename isObject to isConvertableObject and fix blob convertion 2021-04-13 11:43:24 +02:00
ITOH 2de53bcc42 feat(rest): createRequestBody support multiple files 2021-04-13 11:42:24 +02:00
ITOH 7d202d43cb fix(helpers/messages): sendMessage explicit type for camelKeysToSnakeCase 2021-04-13 11:42:02 +02:00
ITOH 89e1e49709 god im dumb 2021-04-13 11:04:20 +02:00
ITOH cc327a9f26 fix(eventHandlers): Wrong channel types 2021-04-13 11:04:01 +02:00
ITOH ece0e29ec8 add any ignore comment 2021-04-13 10:47:32 +02:00
ITOH 0032941b25 Update fetch_members.ts 2021-04-13 10:44:36 +02:00
ITOH 0028fac698 Merge branch 'main' of https://github.com/discordeno/discordeno into main 2021-04-13 09:59:40 +02:00
ITOH 624c4b57cb fix(structures/channel): wrong type for permissionOverwrites 2021-04-13 09:59:20 +02:00
TriForMine b93dc0963f fix(helpers): fix import StatusUpdate as type (#842)
* fix(helpers): add missing export for editBotStatus

* fix(helpers): fix import type
2021-04-13 08:31:45 +01:00
TriForMine 31e30c63a0 fix(helpers): fix import type 2021-04-13 09:27:43 +02:00