diff --git a/src/structures/MessageMentions.js b/src/structures/MessageMentions.js index 01f2a00aaa96..d4f2b039be2e 100644 --- a/src/structures/MessageMentions.js +++ b/src/structures/MessageMentions.js @@ -87,7 +87,7 @@ class MessageMentions { /** * Cached channels for {@link MessageMentions#channels} - * @type {?Collection} + * @type {?Collection} * @private */ this._channels = null; @@ -147,7 +147,7 @@ class MessageMentions { /** * Any channels that were mentioned * Order as they appear first in the message content - * @type {Collection} + * @type {Collection} * @readonly */ get channels() { @@ -164,7 +164,7 @@ class MessageMentions { /** * Checks if a user, guild member, role, or channel is mentioned. * Takes into account user mentions, role mentions, and @everyone/@here mentions. - * @param {UserResolvable|RoleResolvable|GuildChannelResolvable} data User/Role/Channel to check + * @param {UserResolvable|RoleResolvable|ChannelResolvable} data User/Role/Channel to check * @param {Object} [options] Options * @param {boolean} [options.ignoreDirect=false] - Whether to ignore direct mentions to the item * @param {boolean} [options.ignoreRoles=false] - Whether to ignore role mentions to a guild member diff --git a/typings/index.d.ts b/typings/index.d.ts index 82816d026a2d..7062ca630cc3 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1144,16 +1144,16 @@ declare module 'discord.js' { roles: Snowflake[] | Collection, everyone: boolean, ); - private _channels: Collection | null; + private _channels: Collection | null; private readonly _content: string; private _members: Collection | null; - public readonly channels: Collection; + public readonly channels: Collection; public readonly client: Client; public everyone: boolean; public readonly guild: Guild; public has( - data: UserResolvable | RoleResolvable | GuildChannelResolvable, + data: UserResolvable | RoleResolvable | ChannelResolvable, options?: { ignoreDirect?: boolean; ignoreRoles?: boolean;