Commit Graph

2967 Commits

Author SHA1 Message Date
rigormorrtiss
6008243b6a docs(types): add clarification for guild stickers for MessageSticker#tags (#1051) 2021-06-17 21:01:45 +04: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
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
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
ITOH
524b1dba22 add: new Message#embeds property 2021-06-10 12:54:35 +02:00
ITOH
d0a7be15ed add: JSON Error Code Maximum Number Of Server Members Reached 2021-06-10 12:47:18 +02:00
ITOH
bc3e80dc80 add: JSON Error Code Maximum Number Of Animated Emojis Reached 2021-06-10 12:47:03 +02:00
ITOH
48f375e92b change: bump patch version 11.0.3 2021-06-09 19:16:00 +02:00
ITOH
8b0b428493 Merge pull request #1028 from discordeno/fix-changes
v11.0.3
2021-06-09 19:13:34 +02:00
ITOH
a7ee22a155 fix: dispatch guild#memberCount 2021-06-09 19:01:42 +02:00
ITOH
8a1d400932 change: use enum for type 2021-06-09 18:53:56 +02:00
ITOH
0ae4a5f9c3 add dock link stuff 2021-06-09 18:53:48 +02:00
ITOH
5d7b2c75a1 change: use enum value here 2021-06-09 18:49:38 +02:00
ITOH
c8a772f8d2 fix: subcomponent#style should be checked 2021-06-09 18:47:22 +02:00
ITOH
3aac3828ae Merge pull request #1026 from discordeno/fixess
v11.0.2
2021-06-08 22:35:03 +02:00
ITOH
20373e462f change: bump version 2021-06-08 22:18:39 +02:00
ITOH
74d984acf6 fix: export GuildNsfwLevel enum 2021-06-08 19:09:38 +02:00
ITOH
a6c5dab29e test this 2021-06-08 18:51:26 +02:00
ITOH
3b63945096 fix: interaction member prop 2021-06-08 18:45:33 +02:00
ITOH
7c328a937e Merge pull request #1025 from discordeno/prettier
change: bump minor version
11.0.1 11.0.2
2021-06-07 17:08:01 +02:00
ITOH
b7ad981e37 Merge branch 'prettier' of https://github.com/discordeno/discordeno into prettier 2021-06-07 17:07:18 +02:00
ITOH
5e59dbb00d change: bump minor version 2021-06-07 17:06:54 +02:00
itohatweb
7ad2622545 change: prettier code 2021-06-07 15:06:51 +00:00
ITOH
5b37babb0a run prettier 2021-06-07 17:06:12 +02:00
ITOH
4355351c69 Merge pull request #1024 from discordeno/change-message-reply
add: mentionUser to reply
2021-06-07 17:04:55 +02:00
ITOH
98788e32e3 add: mentionUser to reply 2021-06-07 17:00:34 +02:00
ITOH
c5a4d5dd3a Bump the version
Next time specific todo
2021-06-07 07:58:48 +02:00
Skillz4Killz
0d61a6eadd Merge pull request #1023 from discordeno/fix-interactions
Fix interactions
11.0.0
2021-06-06 12:10:25 -04:00