Skip to content

Commit 93cdb2f

Browse files
authoredMar 2, 2022
feat: Backport MessageMentions channel type fixes (#7562)
1 parent 611d3a7 commit 93cdb2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎typings/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1736,11 +1736,11 @@ export class MessageMentions {
17361736
everyone: boolean,
17371737
repliedUser?: APIUser | User,
17381738
);
1739-
private _channels: Collection<Snowflake, TextBasedChannel> | null;
1739+
private _channels: Collection<Snowflake, AnyChannel> | null;
17401740
private readonly _content: string;
17411741
private _members: Collection<Snowflake, GuildMember> | null;
17421742

1743-
public readonly channels: Collection<Snowflake, TextBasedChannel>;
1743+
public readonly channels: Collection<Snowflake, AnyChannel>;
17441744
public readonly client: Client;
17451745
public everyone: boolean;
17461746
public readonly guild: Guild;

0 commit comments

Comments
 (0)
Please sign in to comment.