mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 03:53:29 +01:00
fix(MessageMentions#channels): Fix type of channels of mentions (#5370)
This commit is contained in:
6
typings/index.d.ts
vendored
6
typings/index.d.ts
vendored
@@ -1144,16 +1144,16 @@ declare module 'discord.js' {
|
||||
roles: Snowflake[] | Collection<Snowflake, Role>,
|
||||
everyone: boolean,
|
||||
);
|
||||
private _channels: Collection<Snowflake, GuildChannel> | null;
|
||||
private _channels: Collection<Snowflake, Channel> | null;
|
||||
private readonly _content: string;
|
||||
private _members: Collection<Snowflake, GuildMember> | null;
|
||||
|
||||
public readonly channels: Collection<Snowflake, TextChannel>;
|
||||
public readonly channels: Collection<Snowflake, Channel>;
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user