mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 03:23:29 +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
|
* Collection of the selected channels
|
||||||
* @type {Collection<Snowflake, Channel|APIChannel>}
|
* @type {Collection<Snowflake, BaseChannel|APIChannel>}
|
||||||
*/
|
*/
|
||||||
this.channels = new Collection();
|
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 {APIChannel} data The data of the channel to create
|
||||||
* @param {Guild} [guild] The guild where this channel belongs
|
* @param {Guild} [guild] The guild where this channel belongs
|
||||||
* @param {Object} [extras] Extra information to supply for creating this channel
|
* @param {Object} [extras] Extra information to supply for creating this channel
|
||||||
* @returns {Channel} Any kind of channel.
|
* @returns {BaseChannel} Any kind of channel.
|
||||||
* @ignore
|
* @ignore
|
||||||
*/
|
*/
|
||||||
function createChannel(client, data, guild, { allowUnknownGuild } = {}) {
|
function createChannel(client, data, guild, { allowUnknownGuild } = {}) {
|
||||||
|
|||||||
Reference in New Issue
Block a user