docs: Change Channel to BaseChannel (#9718)

docs: change `Channel` to `BaseChannel`
This commit is contained in:
Jiralite
2023-07-16 16:06:14 +01:00
committed by GitHub
parent 125405f1cf
commit e5effb6f6a
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ class ChannelSelectMenuInteraction extends MessageComponentInteraction {
/**
* Collection of the selected channels
* @type {Collection<Snowflake, Channel|APIChannel>}
* @type {Collection<Snowflake, BaseChannel|APIChannel>}
*/
this.channels = new Collection();

View File

@@ -20,7 +20,7 @@ const getForumChannel = lazy(() => require('../structures/ForumChannel'));
* @param {APIChannel} data The data of the channel to create
* @param {Guild} [guild] The guild where this channel belongs
* @param {Object} [extras] Extra information to supply for creating this channel
* @returns {Channel} Any kind of channel.
* @returns {BaseChannel} Any kind of channel.
* @ignore
*/
function createChannel(client, data, guild, { allowUnknownGuild } = {}) {