From 45ebea3216b8013969b74ecfbb06de3d43c09385 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Thu, 7 Oct 2021 17:24:53 +0100 Subject: [PATCH] types(WelcomeChannelData): Allow store channels (#6778) --- src/structures/Guild.js | 2 +- typings/index.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/structures/Guild.js b/src/structures/Guild.js index 7c245f28b..7228522f8 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -877,7 +877,7 @@ class Guild extends AnonymousGuild { * Welcome channel data * @typedef {Object} WelcomeChannelData * @property {string} description The description to show for this welcome channel - * @property {GuildTextChannelResolvable} channel The channel to link for this welcome channel + * @property {TextChannel|NewsChannel|StoreChannel|Snowflake} channel The channel to link for this welcome channel * @property {EmojiIdentifierResolvable} [emoji] The emoji to display for this welcome channel */ diff --git a/typings/index.d.ts b/typings/index.d.ts index 5bcb5de11..5f2674177 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -4988,7 +4988,7 @@ export interface WidgetChannel { export interface WelcomeChannelData { description: string; - channel: GuildChannelResolvable; + channel: TextChannel | NewsChannel | StoreChannel | Snowflake; emoji?: EmojiIdentifierResolvable; }