Commit Graph

3393 Commits

Author SHA1 Message Date
ITOH df03334464 use correct event handler function 2021-05-02 21:06:36 +02:00
ITOH 3fb9c80500 fix: unnecessary messages loop for non message channels 2021-05-02 20:59:40 +02:00
ITOH a094a1e7bd add: THREAD_DELETE event handler 2021-05-02 20:59:16 +02:00
ITOH 59bc25fd67 fix: THREAD_ARCHIVED_BASE constant missing threads/ 2021-05-02 20:52:05 +02:00
ITOH cd0a86d831 add: some thread errors 2021-05-02 20:51:48 +02:00
ITOH efd52e9c9b fix: thread channels have own prop 2021-05-02 20:51:39 +02:00
ITOH 5e747a8cdf add: THREAD_UPDATE event handler 2021-05-02 20:51:09 +02:00
ITOH b148c67b6c add: THREAD_CREATE event handler 2021-05-02 20:50:58 +02:00
ITOH 1b7c777aa3 Update CHANNEL_UPDATE.ts 2021-05-02 20:50:46 +02:00
rigormorrtiss 5a74c3cb8e feat(types): add 30037 code to JSON error codes enum
Reference: https://github.com/discord/discord-api-docs/pull/2869
2021-05-02 21:22:12 +04:00
rigormorrtiss ee164bff22 remove(types): System user flag (#889)
Reference: https://github.com/discord/discord-api-docs/commit/9293f0d490ac6acf9d627e429e5a8131b303b528

BREAKING: The flag "System" has been removed from the documentation on 9 April 2021
2021-05-02 17:57:18 +01:00
rigormorrtiss a33193fa92 remove(types): privateChannels field from Ready (#890)
* refactor(types): remove privateChannels field from Ready

BREAKING: since Tuesday, 6 April 2021, private_channels field has been undocumented by @night. Reference commit: https://github.com/discord/discord-api-docs/commit/f36156dbb641f5c4d4f4593f345bfd6e27fdee08
2021-05-02 17:56:13 +01:00
ITOH f0ea01b502 add: getArchivedThreads 2021-05-02 18:20:57 +02:00
ITOH 28e407ca03 add: getThreadMembers 2021-05-02 17:17:17 +02:00
ITOH 8c23b88dc5 add: removeFromThread 2021-05-02 17:17:11 +02:00
ITOH 4faeab8bac add: startThread 2021-05-02 16:35:26 +02:00
ITOH 02b9d7188f Update edit_channel.ts 2021-05-02 16:35:11 +02:00
ITOH b5f5b0caf6 add: more thread endpoints 2021-05-02 14:39:27 +02:00
ITOH 86af3a089c add: START_THREAD endpoint 2021-05-02 13:42:15 +02:00
ITOH 2087aceb30 Merge branch 'main' into threads 2021-05-02 13:37:13 +02:00
ITOH 64606025ec add: delete thread functionality 2021-05-02 13:37:07 +02:00
ITOH 6f7ade244a add: thread channel support 2021-05-02 12:34:47 +02:00
ITOH dfe822f4d2 fix(types): messageId is optional 2021-05-02 00:35:16 +02:00
ITOH 9ff0c2c693 Update utils.ts 2021-05-01 23:37:26 +02:00
ITOH 95fdb6b064 idk 2021-05-01 23:37:19 +02:00
ITOH 8a974511c9 fmt 2021-05-01 23:37:10 +02:00
ITOH 8fa98b4970 Update channel.ts 2021-05-01 23:37:05 +02:00
ITOH 478952d9eb fix(helpers/messages): sendMessage add new thread types to channel type check 2021-05-01 23:36:59 +02:00
ITOH 8840ed5662 changed: moved thread types to channel/threads 2021-05-01 23:36:17 +02:00
ITOH d60ccae805 fix(types): channel.permissionOverwrites can be undefined 2021-05-01 23:35:43 +02:00
ITOH 9cd6b963da add: hasOwnProperty 2021-05-01 22:38:49 +02:00
ITOH b0758e7094 Update permissions.ts 2021-05-01 22:38:41 +02:00
ITOH 9e6620a171 fix(types): file param is optional 2021-05-01 20:37:23 +01:00
ITOH 152654bd44 only run coverage report for main branch 2021-05-01 18:48:40 +02:00
ITOH eda4895da3 more fixxes 2021-05-01 18:42:46 +02:00
ITOH 51095db12f fix my renaming thing 2021-05-01 18:39:20 +02:00
ITOH c28904f14b Merge branch 'main' into threads 2021-05-01 18:36:54 +02:00
ITOH 8032133ad4 Update permissions.ts 2021-05-01 18:35:27 +02:00
ITOH cff1b61af5 fix channel permission thing 2021-05-01 18:35:19 +02:00
Skillz 82f070884a adds new response type 2021-05-01 11:23:43 -04:00
Skillz 4b3bc471f2 types are good now 2021-05-01 11:11:39 -04:00
Skillz 8a42bc71cb fix broken import 2021-05-01 11:08:57 -04:00
Skillz a1e40a670c fix exports for type guards 2021-05-01 11:06:25 -04:00
Skillz 7da202b5bf Remove unused import 2021-05-01 11:02:37 -04:00
ITOH 2e851fc8d7 Merge pull request #888 from discordeno/buttons-dropdowns
Buttons
2021-05-01 16:35:47 +02:00
ITOH cb83b00c76 Update src/types/interactions/interaction.ts 2021-05-01 16:33:19 +02:00
Skillz 179a904568 Merge branch 'buttons-dropdowns' of https://github.com/discordeno/discordeno into buttons-dropdowns 2021-05-01 10:25:52 -04:00
Skillz 863595f425 fix message components enum 2021-05-01 10:25:35 -04:00
Skillz4Killz 6e8987104f Update src/types/messages/components/message_component_types.ts
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-05-01 10:24:30 -04:00
Skillz 9dc163f8c3 Merge branch 'buttons-dropdowns' of https://github.com/discordeno/discordeno into buttons-dropdowns 2021-05-01 10:23:39 -04:00