Skip to content

Commit

Permalink
docs(Guild): Add GuildTextChannelResolvable type definition (#6221)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite authored Jul 29, 2021
1 parent a69e2f7 commit 1009ce1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/structures/Guild.js
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,14 @@ class Guild extends AnonymousGuild {
* @property {WelcomeChannelData[]} [welcomeChannels] The welcome channel data for the welcome screen
*/

/**
* Data that can be resolved to a GuildTextChannel object. This can be:
* * A TextChannel
* * A NewsChannel
* * A Snowflake
* @typedef {TextChannel|NewsChannel|Snowflake} GuildTextChannelResolvable
*/

/**
* Updates the guild's welcome screen
* @param {WelcomeScreenEditData} data Data to edit the welcome screen with
Expand Down

0 comments on commit 1009ce1

Please sign in to comment.