types: fix MessageMentions channel types (#7316)

This commit is contained in:
oof2win2
2022-01-25 08:34:04 +01:00
committed by GitHub
parent 31768fcd69
commit c05b38873b

View File

@@ -1633,11 +1633,11 @@ export class MessageMentions {
everyone: boolean,
repliedUser?: APIUser | User,
);
private _channels: Collection<Snowflake, TextBasedChannel> | null;
private _channels: Collection<Snowflake, AnyChannel> | null;
private readonly _content: string;
private _members: Collection<Snowflake, GuildMember> | null;
public readonly channels: Collection<Snowflake, TextBasedChannel>;
public readonly channels: Collection<Snowflake, AnyChannel>;
public readonly client: Client;
public everyone: boolean;
public readonly guild: Guild;