Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Change Channel to BaseChannel #9718

Merged
merged 2 commits into from
Jul 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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