@@ -158,21 +158,25 @@ Various _`create()`_ and _`edit()`_ methods on managers and objects have had the
158
158
- <DocsLink type = " class" parent = " Role" symbol = " edit" brackets /> now takes _ ` reason ` _ in the _ ` data ` _ parameter
159
159
- <DocsLink type = " class" parent = " Sticker" symbol = " edit" brackets /> now takes _ ` reason ` _ in the _ ` data ` _ parameter
160
160
- <DocsLink type = " class" parent = " ThreadChannel" symbol = " edit" brackets /> now takes _ ` reason ` _ in the _ ` data ` _ parameter
161
- - <DocsLink type = " class" parent = " GuildChannelManager" symbol = " create" brackets /> now takes _ ` name ` _ in the _ ` options ` _ parameter
161
+ - <DocsLink type = " class" parent = " GuildChannelManager" symbol = " create" brackets /> now takes _ ` name ` _ in the _ ` options ` _
162
+ parameter
162
163
- <DocsLink type = " class" parent = " GuildChannelManager" symbol = " createWebhook" brackets /> (and other text-based channels)
163
164
now takes _ ` channel ` _ and _ ` name ` _ in the _ ` options ` _ parameter
164
- - <DocsLink type = " class" parent = " GuildChannelManager" symbol = " edit" brackets /> now takes _ ` reason ` _ as a part of _ ` data ` _
165
+ - <DocsLink type = " class" parent = " GuildChannelManager" symbol = " edit" brackets /> now takes _ ` reason ` _ as a part of
166
+ _ ` data ` _
165
167
- <DocsLink type = " class" parent = " GuildEmojiManager" symbol = " edit" brackets /> now takes _ ` reason ` _ as a part of _ ` data ` _
166
168
- <DocsLink type = " class" parent = " GuildManager" symbol = " create" brackets /> now takes _ ` name ` _ as a part of _ ` options ` _
167
- - <DocsLink type = " class" parent = " GuildMemberManager" symbol = " edit" brackets /> now takes _ ` reason ` _ as a part of _ ` data ` _
169
+ - <DocsLink type = " class" parent = " GuildMemberManager" symbol = " edit" brackets /> now takes _ ` reason ` _ as a part of
170
+ _ ` data ` _
168
171
- <DocsLink type = " class" parent = " GuildMember" symbol = " edit" brackets /> now takes _ ` reason ` _ as a part of _ ` data ` _
169
- - <DocsLink type = " class" parent = " GuildStickerManager" symbol = " edit" brackets /> now takes _ ` reason ` _ as a part of _ ` data ` _
172
+ - <DocsLink type = " class" parent = " GuildStickerManager" symbol = " edit" brackets /> now takes _ ` reason ` _ as a part of
173
+ _ ` data ` _
170
174
- <DocsLink type = " class" parent = " RoleManager" symbol = " edit" brackets /> now takes _ ` reason ` _ as a part of _ ` options ` _
171
175
- <DocsLink type = " class" parent = " Webhook" symbol = " edit" brackets /> now takes _ ` reason ` _ as a part of _ ` options ` _
172
176
- <DocsLink type = " class" parent = " GuildEmojiManager" symbol = " create" brackets /> now takes _ ` attachment ` _ and _ ` name ` _ as
173
177
a part of _ ` options ` _
174
- - <DocsLink type = " class" parent = " GuildStickerManager" symbol = " create" brackets /> now takes _ ` file ` _ , _ ` name ` _ , and _ ` tags ` _
175
- as a part of _ ` options ` _
178
+ - <DocsLink type = " class" parent = " GuildStickerManager" symbol = " create" brackets /> now takes _ ` file ` _ , _ ` name ` _ , and
179
+ _ ` tags ` _ as a part of _ ` options ` _
176
180
177
181
### Activity
178
182
@@ -236,9 +240,10 @@ Dynamic URLs use <DocsLink package="rest" type="Interface" parent="ImageURLOptio
236
240
237
241
### CategoryChannel
238
242
239
- <DocsLink type = " class" parent = " CategoryChannel" symbol = " children" /> is no longer a _ ` Collection ` _ of channels the category
240
- contains. It is now a <DocsLink type = " class" parent = " CategoryChannelChildManager" />. This also means
241
- _ ` CategoryChannel#createChannel() ` _ has been moved to the <DocsLink type = " class" parent = " CategoryChannelChildManager" />.
243
+ <DocsLink type = " class" parent = " CategoryChannel" symbol = " children" /> is no longer a _ ` Collection ` _ of channels the
244
+ category contains. It is now a <DocsLink type = " class" parent = " CategoryChannelChildManager" />. This also means
245
+ _ ` CategoryChannel#createChannel() ` _ has been moved to the <DocsLink type = " class" parent = " CategoryChannelChildManager" />
246
+ .
242
247
243
248
### Channel
244
249
@@ -262,8 +267,8 @@ The _`restWsBridgeTimeout`_ client option has been removed.
262
267
263
268
### CommandInteractionOptionResolver
264
269
265
- <DocsLink type = " class" parent = " CommandInteractionOptionResolver" symbol = " getMember" brackets /> no longer has a parameter
266
- for _ ` required ` _ .[ ^ 1 ]
270
+ <DocsLink type = " class" parent = " CommandInteractionOptionResolver" symbol = " getMember" brackets /> no longer has a
271
+ parameter for _ ` required ` _ .[ ^ 1 ]
267
272
268
273
### Constants
269
274
@@ -357,7 +362,8 @@ The following properties & methods have been moved to the <DocsLink type="class"
357
362
358
363
### GuildMember
359
364
360
- <DocsLink type = " class" parent = " GuildMember" symbol = " pending" /> is now nullable to account for partial guild members.[ ^ 4 ]
365
+ <DocsLink type = " class" parent = " GuildMember" symbol = " pending" /> is now nullable to account for partial guild
366
+ members.[ ^ 4 ]
361
367
362
368
### IntegrationApplication
363
369
@@ -582,8 +588,8 @@ _`Role.comparePositions()`_ has been removed. Use <DocsLink type="class" parent=
582
588
583
589
### Sticker
584
590
585
- <DocsLink type = " class" parent = " Sticker" symbol = " tags" /> is now a nullable string (_ ` string | null ` _ ). Previously, it was
586
- a nullable array of strings (_ ` string[] | null ` _ ).[ ^ 5 ]
591
+ <DocsLink type = " class" parent = " Sticker" symbol = " tags" /> is now a nullable string (_ ` string | null ` _ ). Previously, it
592
+ was a nullable array of strings (_ ` string[] | null ` _ ).[ ^ 5 ]
587
593
588
594
### ThreadChannel
589
595
@@ -668,8 +674,8 @@ Added support for <DocsLink type="class" parent="BaseChannel" symbol="flags" />.
668
674
669
675
Store channels have been removed as they are no longer part of the API.
670
676
671
- <DocsLink type = " class" parent = " BaseChannel" symbol = " url" /> has been added which is a link to a channel, just like in the
672
- client.
677
+ <DocsLink type = " class" parent = " BaseChannel" symbol = " url" /> has been added which is a link to a channel, just like in
678
+ the client.
673
679
674
680
Additionally, new typeguards have been added:
675
681
@@ -713,13 +719,13 @@ Component collector options now use the <DiscordAPITypesLink type="enum" parent=
713
719
714
720
### CommandInteraction
715
721
716
- <DocsLink type = " class" parent = " CommandInteraction" symbol = " commandGuildId" /> has been added which is the id of the guild
717
- the invoked application command is registered to.
722
+ <DocsLink type = " class" parent = " CommandInteraction" symbol = " commandGuildId" /> has been added which is the id of the
723
+ guild the invoked application command is registered to.
718
724
719
725
### CommandInteractionOptionResolver
720
726
721
- <DocsLink type = " class" parent = " CommandInteractionOptionResolver" symbol = " getChannel" brackets /> now has a third parameter
722
- which narrows the channel type.
727
+ <DocsLink type = " class" parent = " CommandInteractionOptionResolver" symbol = " getChannel" brackets /> now has a third
728
+ parameter which narrows the channel type.
723
729
724
730
### Events
725
731
@@ -814,9 +820,15 @@ Added the _`threadName`_ property in <DocsLink type="typedef" parent="WebhookMes
814
820
discord.js uses <DocsLink package = " ws" /> internally.
815
821
816
822
[ ^ 1 ] : https://github.com/discordjs/discord.js/pull/7188
823
+
817
824
[ ^ 2 ] : https://github.com/discordjs/discord.js/pull/6492
825
+
818
826
[ ^ 3 ] : https://github.com/discordjs/discord.js/pull/7669
827
+
819
828
[ ^ 4 ] : https://github.com/discordjs/discord.js/issues/6546
829
+
820
830
[ ^ 5 ] : https://github.com/discordjs/discord.js/pull/8010
831
+
821
832
[ ^ 6 ] : https://github.com/discordjs/discord.js/issues/7091
833
+
822
834
[ ^ 7 ] : https://github.com/discord/discord-api-docs/pull/6017
0 commit comments