mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
types(WelcomeChannelData): Allow store channels (#6778)
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
|
||||
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -4988,7 +4988,7 @@ export interface WidgetChannel {
|
||||
|
||||
export interface WelcomeChannelData {
|
||||
description: string;
|
||||
channel: GuildChannelResolvable;
|
||||
channel: TextChannel | NewsChannel | StoreChannel | Snowflake;
|
||||
emoji?: EmojiIdentifierResolvable;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user