docs(Guild): Add GuildTextChannelResolvable type definition (#6221)

This commit is contained in:
Jiralite
2021-07-29 11:53:02 +01:00
committed by GitHub
parent a69e2f7904
commit 1009ce169b

View File

@@ -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