Skip to content

Commit

Permalink
Fix type of channels of mentions
Browse files Browse the repository at this point in the history
Change type of channels mentions from TextChannel to GuildChannel.
  • Loading branch information
GrapeColor committed Mar 4, 2021
1 parent d744e51 commit 2b5c44e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,7 @@ declare module 'discord.js' {
private readonly _content: string;
private _members: Collection<Snowflake, GuildMember> | null;

public readonly channels: Collection<Snowflake, TextChannel>;
public readonly channels: Collection<Snowflake, GuildChannel>;
public readonly client: Client;
public everyone: boolean;
public readonly guild: Guild;
Expand Down

0 comments on commit 2b5c44e

Please sign in to comment.