Skip to content

Commit

Permalink
docs: Change Channel to BaseChannel (#9718)
Browse files Browse the repository at this point in the history
docs: change `Channel` to `BaseChannel`
  • Loading branch information
Jiralite authored Jul 16, 2023
1 parent 125405f commit e5effb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
2 changes: 1 addition & 1 deletion packages/discord.js/src/util/Channels.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 } = {}) {
Expand Down

0 comments on commit e5effb6

Please sign in to comment.