mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 20:43:30 +01:00
docs(Guild): Add GuildTextChannelResolvable type definition (#6221)
This commit is contained in:
@@ -878,6 +878,14 @@ class Guild extends AnonymousGuild {
|
|||||||
* @property {WelcomeChannelData[]} [welcomeChannels] The welcome channel data for the welcome screen
|
* @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
|
* Updates the guild's welcome screen
|
||||||
* @param {WelcomeScreenEditData} data Data to edit the welcome screen with
|
* @param {WelcomeScreenEditData} data Data to edit the welcome screen with
|
||||||
|
|||||||
Reference in New Issue
Block a user