Skip to content

Commit

Permalink
types(WelcomeChannelData): Allow store channels (#6778)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Oct 7, 2021
1 parent a84e51b commit 45ebea3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/structures/Guild.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/

Expand Down
2 changes: 1 addition & 1 deletion typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4988,7 +4988,7 @@ export interface WidgetChannel {

export interface WelcomeChannelData {
description: string;
channel: GuildChannelResolvable;
channel: TextChannel | NewsChannel | StoreChannel | Snowflake;
emoji?: EmojiIdentifierResolvable;
}

Expand Down

0 comments on commit 45ebea3

Please sign in to comment.