types(GuildChannelManager): correct fetch return type (v13) (#8551)

This commit is contained in:
RedGuy12
2022-09-13 02:10:47 -05:00
committed by GitHub
parent e6ee7d8374
commit f4e81330bf
3 changed files with 9 additions and 6 deletions

View File

@@ -324,7 +324,7 @@ class GuildChannelManager extends CachedManager {
* Obtains one or more guild channels from Discord, or the channel cache if they're already available.
* @param {Snowflake} [id] The channel's id
* @param {BaseFetchOptions} [options] Additional options for this fetch
* @returns {Promise<?GuildChannel|Collection<Snowflake, GuildChannel>>}
* @returns {Promise<?GuildChannel|ThreadChannel|Collection<Snowflake, ?GuildChannel>>}
* @example
* // Fetch all channels from the guild (excluding threads)
* message.guild.channels.fetch()