mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix(Collector): support async (#4123)
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -2295,7 +2295,7 @@ declare module 'discord.js' {
|
||||
target: WebSocket;
|
||||
}
|
||||
|
||||
type CollectorFilter = (...args: any[]) => boolean;
|
||||
type CollectorFilter = (...args: any[]) => boolean | Promise<boolean>;
|
||||
|
||||
interface CollectorOptions {
|
||||
time?: number;
|
||||
|
||||
Reference in New Issue
Block a user