Skip to content

Commit 5a0ece9

Browse files
Jiralitekodiakhq[bot]
authored andcommitted
docs(WebhookEditOptions): Add all of the types (discordjs#9776)
docs(WebhookEditOptions): add all the types Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 355afcc commit 5a0ece9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/discord.js/src/structures/Webhook.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,8 @@ class Webhook {
264264
* @typedef {Object} WebhookEditOptions
265265
* @property {string} [name=this.name] The new name for the webhook
266266
* @property {?(BufferResolvable)} [avatar] The new avatar for the webhook
267-
* @property {GuildTextChannelResolvable} [channel] The new channel for the webhook
267+
* @property {GuildTextChannelResolvable|VoiceChannel|StageChannel|ForumChannel} [channel]
268+
* The new channel for the webhook
268269
* @property {string} [reason] Reason for editing the webhook
269270
*/
270271

0 commit comments

Comments
 (0)