types(WelcomeChannelData): Allow store channels (#6778)

This commit is contained in:
Jiralite
2021-10-07 17:24:53 +01:00
committed by GitHub
parent a84e51b767
commit 45ebea3216
2 changed files with 2 additions and 2 deletions

View File

@@ -877,7 +877,7 @@ class Guild extends AnonymousGuild {
* Welcome channel data * Welcome channel data
* @typedef {Object} WelcomeChannelData * @typedef {Object} WelcomeChannelData
* @property {string} description The description to show for this welcome channel * @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 * @property {EmojiIdentifierResolvable} [emoji] The emoji to display for this welcome channel
*/ */

2
typings/index.d.ts vendored
View File

@@ -4988,7 +4988,7 @@ export interface WidgetChannel {
export interface WelcomeChannelData { export interface WelcomeChannelData {
description: string; description: string;
channel: GuildChannelResolvable; channel: TextChannel | NewsChannel | StoreChannel | Snowflake;
emoji?: EmojiIdentifierResolvable; emoji?: EmojiIdentifierResolvable;
} }