mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
fix: allow null to be passed in order to reset icon/avatar (#6646)
This commit is contained in:
@@ -136,7 +136,7 @@ class BaseGuildTextChannel extends GuildChannel {
|
||||
/**
|
||||
* Options used to create a {@link Webhook} for {@link TextChannel} and {@link NewsChannel}.
|
||||
* @typedef {Object} ChannelWebhookCreateOptions
|
||||
* @property {BufferResolvable|Base64Resolvable} [avatar] Avatar for the webhook
|
||||
* @property {?(BufferResolvable|Base64Resolvable)} [avatar] Avatar for the webhook
|
||||
* @property {string} [reason] Reason for creating the webhook
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user