Commit Graph

5354 Commits

Author SHA1 Message Date
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: 9293f0d490

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: f36156dbb6
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