fix(Collector): support async (#4123)

This commit is contained in:
Nathan Franke
2020-08-11 16:34:47 -05:00
committed by GitHub
parent 05cbf70486
commit 124afeb843
2 changed files with 4 additions and 4 deletions

2
typings/index.d.ts vendored
View File

@@ -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;