From 1009ce169b33424b379d734d1ac5c80e7d2b257c Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Thu, 29 Jul 2021 11:53:02 +0100 Subject: [PATCH] docs(Guild): Add GuildTextChannelResolvable type definition (#6221) --- src/structures/Guild.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/structures/Guild.js b/src/structures/Guild.js index e9c8b65b1..2c63b5615 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -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