Commit Graph

3200 Commits

Author SHA1 Message Date
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
rigormorrtiss 7cfc5def85 build: update dependencies to latest 2021-06-16 17:51:05 +04: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
Skillz4Killz f2177e8ca6 cache.threads 2021-06-13 13:34:18 +00:00
ITOH 86375fe54b support string as id 2021-06-11 21:16:10 +02:00
ITOH 8f70ce52ca fix: message#tag discriminator formatting 2021-06-11 19:23:02 +02:00
ITOH 1d19d79160 fix: member#tag discriminator formatting 2021-06-11 19:22:54 +02:00
ITOH 2499a036b4 Merge pull request #1030 from discordeno/11.1.0
v11.1.0
11.1.0
2021-06-10 22:58:47 +02:00
ITOH aef94af9b3 change: bump minor version 2021-06-10 22:54:56 +02:00
ITOH 98aa6c07fa fix: use bigint id for key and not string id for cache.emojis getter 2021-06-10 22:37:33 +02:00
ITOH cccc0a3359 requested changes 2021-06-10 16:09:31 +02:00
ITOH 29c815712e add a remove comment 2021-06-10 13:46:10 +02:00
ITOH 125496a36b add: new EditMessage#embeds 2021-06-10 13:45:57 +02:00
ITOH 6bbbd0c061 add: new CreateMessage#embeds 2021-06-10 13:45:48 +02:00
ITOH a3a0037371 deprecate: Message#embed property 2021-06-10 12:54:49 +02:00