mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 18:13:29 +01:00
fix(ReactionCollector): only call the filter function once (#6734)
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -1598,7 +1598,7 @@ export class ReactionCollector extends Collector<Snowflake | string, MessageReac
|
||||
|
||||
public static key(reaction: MessageReaction): Snowflake | string;
|
||||
|
||||
public collect(reaction: MessageReaction, user: User): Promise<Snowflake | string | null>;
|
||||
public collect(reaction: MessageReaction, user: User): Snowflake | string | null;
|
||||
public dispose(reaction: MessageReaction, user: User): Snowflake | string | null;
|
||||
public empty(): void;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user