Fix the requested part and mute eslint for now
This commit is contained in:
parent
8b564a4b49
commit
e99bf61f3a
2 changed files with 2 additions and 2 deletions
|
@ -99,7 +99,6 @@ export class RolesManager extends BaseManager<RolePayload, Role> {
|
||||||
options
|
options
|
||||||
)
|
)
|
||||||
|
|
||||||
const result = new Role(this.client, resp, this.guild)
|
return new Role(this.client, resp, this.guild)
|
||||||
return result
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -135,6 +135,7 @@ export class Collector extends EventEmitter {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Returns a Promise resolved when Collector ends or a timeout occurs */
|
/** Returns a Promise resolved when Collector ends or a timeout occurs */
|
||||||
|
// eslint-disable-next-line
|
||||||
async wait(timeout: number = this.timeout ?? 0): Promise<Collector> {
|
async wait(timeout: number = this.timeout ?? 0): Promise<Collector> {
|
||||||
return await new Promise((resolve, reject) => {
|
return await new Promise((resolve, reject) => {
|
||||||
// eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
|
// eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
|
||||||
|
|
Loading…
Reference in a new issue