feat: Backport MessageMentions channel type fixes (#7562)

This commit is contained in:
Jiralite
2022-03-02 09:32:57 +00:00
committed by GitHub
parent 611d3a7b2f
commit 93cdb2f2fa

4
typings/index.d.ts vendored
View File

@@ -1736,11 +1736,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;