Commit Graph

3012 Commits

Author SHA1 Message Date
Skillz4Killz
cf26adf0bc Merge branch 'main' into more-thread-stuff 2021-06-18 10:37:23 -04:00
Skillz4Killz
72f0836b7b Merge branch 'more-thread-stuff' of https://github.com/discordeno/discordeno into more-thread-stuff 2021-06-18 00:07:03 +00:00
Skillz4Killz
08ad0000d5 fix: final touches 2021-06-18 00:07:01 +00:00
Skillz4Killz
f3bddc2cb7 change: prettier code 2021-06-18 00:03:29 +00:00
Skillz4Killz
a7d11bf7bb feat: finalizing threads 2021-06-18 00:02:54 +00:00
Skillz4Killz
c63d5b9aeb Merge branch 'more-thread-stuff' of https://github.com/discordeno/discordeno into more-thread-stuff 2021-06-17 21:55:51 +00:00
Skillz4Killz
88e52c6170 fix: more bugs bugs bugs 2021-06-17 20:08:30 +00:00
Skillz4Killz
e22db20977 Merge pull request #1053 from rigormorrtiss/fix-9c3577f6ca35904462adf8d57c4346afd2a6bcf0
Update MessageSticker fields and deprecate Message#sticker
2021-06-17 15:20:21 -04:00
Skillz4Killz
d1b4ee8047 feat: fix typo in name and add isThreadChannel 2021-06-17 18:13:54 +00:00
Skillz4Killz
2d004ba156 fix: channel type name 2021-06-17 18:06:17 +00:00
Skillz4Killz
21449fec64 fix: intents checking bugs 2021-06-17 18:03:32 +00:00
rigormorrtiss
6ea15a6485 fix(types): update MessageSticker fields 2021-06-17 21:12:52 +04:00
rigormorrtiss
50fff43007 docs(types): deprecate stickers field in Message 2021-06-17 21:12:20 +04:00
rigormorrtiss
dff3806397 feat(types): add available, guildId, user, sortValue to MessageSticker (#1052) 2021-06-17 21:03:53 +04:00
rigormorrtiss
6008243b6a docs(types): add clarification for guild stickers for MessageSticker#tags (#1051) 2021-06-17 21:01:45 +04:00
Skillz4Killz
2da3037fdb change: prettier code 2021-06-17 16:53:47 +00:00
Skillz4Killz
a584b81b12 threads have owners duh 2021-06-17 16:53:12 +00:00
Skillz4Killz
95140ca697 fix: add remaining error types 2021-06-17 16:53:05 +00:00
Skillz4Killz
43907d09a4 i love rigor 2021-06-17 16:52:47 +00:00
Skillz4Killz
3a060aaa28 comments 2021-06-17 16:52:31 +00:00
Skillz4Killz
db94a659b7 tyler is bae <3 2021-06-17 16:38:47 +00:00
Skillz4Killz
482a62f0e8 simplify start threads 2021-06-17 16:38:41 +00:00
Skillz4Killz
3245a07a38 feat: add channel getters for channel types 2021-06-17 16:38:17 +00:00
Skillz4Killz
48ff881742 fix: refactor to DDThreads 2021-06-17 16:13:06 +00:00
Skillz4Killz
325d94ccfd fix: thread errors and typings in cache 2021-06-17 16:12:53 +00:00
Skillz4Killz
a8652573f4 fix: add to thread perm checks 2021-06-17 16:12:34 +00:00
Skillz4Killz
f7dd1ab641 fix: undo bad suggestion 2021-06-17 14:50:22 +00:00
Skillz4Killz
10e1e8a034 fix: suggested changes by itoh 2021-06-17 14:49:18 +00:00
Skillz4Killz
3be9877e6e Merge pull request #1049 from discordeno/fix-edit-bot-profile-avatar-url
fix: botAvatarURL is nullable
2021-06-17 10:37:51 -04:00
ITOH
dc4937f4f6 fix: botAvatarURL is nullable
null shall be passed to reset the bots avatar
2021-06-17 15:34:18 +02:00
rigormorrtiss
ddf5d9f490 add(helpers): connectToVoiceChannel() (#1048)
* feat(helpers): add joinVoiceChannel() helper

* Remove if-statement validating if channelId is present or not

* refactor(helpers): use snakelize()

* Rename to connectToVoiceChannel()

Co-authored-by: ITOH <to@itoh.at>

* Require VIEW_CHANNEL permission including CONNECT

Co-authored-by: ITOH <to@itoh.at>

* Change default value of third argument to {}

* Remove usage of Partial and mark options as optional

* Default selfDeaf to true by default

* .

* Add connectToVoiceChannel() to helpers module

* docs(helpers): add jsdoc block to connectToVoiceChannel()

* Use AtLeastOne type for options

* Default value for selfMute option

* Update src/helpers/voice/connect_to_voice_channel.ts

Co-authored-by: ITOH <to@itoh.at>

Co-authored-by: ITOH <to@itoh.at>
2021-06-16 21:02:21 +02:00
ayntee
d5ea8904b9 docs(handlers): fix typo (#1046)
Thanks @itohatweb
2021-06-16 10:23:34 +04:00
rigormorrtiss
e7414337f3 fix(handlers): non-null-assert payload.id in THREAD_MEMBER_UPDATE (#1045) 2021-06-16 10:00:20 +04:00
rigormorrtiss
83fd5d997c fix(types): mark id, userId as optional in ThreadMember (#1044) 2021-06-15 13:17:11 +04:00
rigormorrtiss
c1ffa6b5f5 feat(types): add defaultAutoArchiveDuration field to Channel (#1043) 2021-06-15 12:55:58 +04:00
rigormorrtiss
7e1e815ee0 feat(types): add stageInstance field to Invite (#1041)
* feat(types): add stageInstance field to Invite

* feat(types): add stageInstance field to Invite

* .

* Convert members field to an array
2021-06-15 12:48:06 +04:00
rigormorrtiss
aad3f038d8 feat(types): add 16000{4,5,6,7} to DiscordJsonErrorCodes (#1033) 2021-06-15 12:45:02 +04:00
Skillz4Killz
efa4b21dd4 Merge branch 'more-thread-stuff' of https://github.com/discordeno/discordeno into more-thread-stuff 2021-06-13 21:00:12 +00:00
Skillz4Killz
04cdda3ba7 more handler fixes for threads 2021-06-13 21:00:10 +00:00
Skillz4Killz
4eee134d6e change: prettier code 2021-06-13 20:46:19 +00:00
Skillz4Killz
950482c503 more thread fixes 2021-06-13 20:45:47 +00:00
ITOH
b018313298 change: bump minor version 11.2.0 2021-06-13 21:51:41 +02:00
ITOH
30a5e937fe Merge branch 'main' of https://github.com/discordeno/discordeno into main 2021-06-13 21:50:29 +02:00
ITOH
6792c6b97d fix this 2021-06-13 21:50:19 +02:00
ITOH
b7aeba4867 Merge pull request #1037 from discordeno/11.1.1
v11.1.1
2021-06-13 20:48:55 +01:00
ITOH
188ffdc1f8 add: isSlashCommand typeGuard 2021-06-13 21:45:36 +02:00
Skillz4Killz
37d3952559 fixes 2021-06-13 13:43:53 +00:00
Skillz4Killz
407592edd6 Merge branch 'more-thread-stuff' of https://github.com/discordeno/discordeno into more-thread-stuff 2021-06-13 13:41:33 +00:00
Skillz4Killz
0223518b43 sync threads 2021-06-13 13:41:31 +00:00
Skillz4Killz
69d5639764 change: prettier code 2021-06-13 13:34:53 +00:00