Commit Graph

2362 Commits

Author SHA1 Message Date
ITOH c0a2c520a5 fix: bigint now 2021-05-03 21:21:51 +02:00
ITOH 0947486411 fix: now bigint 2021-05-03 21:19:53 +02:00
ITOH 6afe31ad55 add: handleThreadMemberUpdate 2021-05-03 21:19:44 +02:00
ITOH f91bf2871f Merge branch 'main' into threads 2021-05-03 20:50:53 +02:00
Skillz4Killz eb0f87e314 Merge pull request #891 from rigormorrtiss/feat-2869
add(types): max ban fetch error code 30037
2021-05-03 14:38:33 -04:00
Skillz4Killz 247dcdee31 Merge branch 'main' into feat-2869 2021-05-03 14:38:22 -04:00
Skillz4Killz d5480c6f88 Merge branch 'main' of https://github.com/discordeno/discordeno into main 2021-05-03 18:33:57 +00:00
Skillz4Killz 000aaaaa51 add isBot, and tag to message struct 2021-05-03 18:33:55 +00:00
ITOH 9be445a2e8 now takes bigint 2021-05-03 20:19:38 +02:00
ITOH 17695e2ccb all are optional 2021-05-03 20:18:53 +02:00
rigormorrtiss 8c786bfe26 Merge branch 'main' into feat-2869 2021-05-03 21:40:27 +04:00
Skillz4Killz b6b3d31c55 export all utils 2021-05-03 17:39:54 +00:00
Skillz4Killz 0b13ccedb0 fix: strings[] to bigint[] in deleteMessages 2021-05-03 17:38:01 +00:00
Skillz4Killz 63ef588c88 Merge branch 'main' into feat-2869 2021-05-03 13:06:07 -04:00
Skillz4Killz 3d39b3878a change: ids to use bigint instead of string (#892)
* p1 of bigints change

* shtuff fixes and bits

* Commit from GitHub Actions (Lint)

* finish bigint structs

* typings fixes

* Commit from GitHub Actions (Lint)

* more fixes

* Commit from GitHub Actions (Lint)

* more fixes

* Commit from GitHub Actions (Lint)

* blame wolf

* Commit from GitHub Actions (Lint)

* foxed

* Commit from GitHub Actions (Lint)

* fix unit tests

* Commit from GitHub Actions (Lint)

* change: guildUpdate guild ID can't change

* delete server has been renamed to delete guild

* fixes

Co-authored-by: Skillz4Killz <Skillz4Killz@users.noreply.github.com>
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
2021-05-03 18:05:18 +01:00
ITOH 5240981d61 this too 2021-05-02 21:36:36 +02:00
ITOH 81e70dc4ff guild id has been removed 2021-05-02 21:34:18 +02:00
ITOH 2396ba2ce4 deno lint stupid 2021-05-02 21:30:26 +02:00
ITOH 4f591320be add: THREAD_LIST_SYNC handlere 2021-05-02 21:26:08 +02:00
ITOH 48606a67c6 fix: file move imports 2021-05-02 21:06:49 +02:00
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