mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
docs: Change Channel to BaseChannel (#9718)
docs: change `Channel` to `BaseChannel`
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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 } = {}) {
|
||||
|
||||
Reference in New Issue
Block a user