Commit Graph

2375 Commits

Author SHA1 Message Date
ITOH 8f680fb936 Merge branch 'main' into threads 2021-05-03 21:52:58 +02:00
ITOH 304e3a26ac NOT TESTED BECAUSE DISCORD NOT WORKING 2021-05-03 21:47:03 +02:00
ITOH 83510eee1a Merge branch 'threads' of https://github.com/discordeno/discordeno into threads 2021-05-03 21:46:48 +02:00
ITOH 9e05a0c4fa add: new thread events 2021-05-03 21:46:46 +02:00
ITOH a017a976a9 add: new thread events 2021-05-03 21:46:39 +02:00
ITOH 781a3e71c0 Update THREAD_UPDATE.ts 2021-05-03 21:46:30 +02:00
ITOH c2175cc339 add: handleThreadMembersUpdate 2021-05-03 21:46:26 +02:00
ITOH fb8e232d2f Update THREAD_LIST_SYNC.ts 2021-05-03 21:46:19 +02:00
ITOH 49eb18d848 Update THREAD_DELETE.ts 2021-05-03 21:46:17 +02:00
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
Skillz4Killz 9f27297112 deno fmt 2021-05-03 18:53:10 +00:00
Skillz4Killz f1eb6ca4fe Merge branch 'main' of https://github.com/discordeno/discordeno into main 2021-05-03 18:53:03 +00:00
Skillz4Killz 3d2535180d fix broken tests 2021-05-03 18:52:57 +00:00
itohatweb 7f7273ed2e Commit from GitHub Actions (Lint) 2021-05-03 18:51:15 +00: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