deleting unused function parameter

This commit is contained in:
ZiomaleQ 2021-01-05 16:24:56 +01:00
parent 734133bcca
commit fbd6eae244
1 changed files with 1 additions and 2 deletions

View File

@ -308,9 +308,8 @@ export class Guild extends Base {
/**
* Fulfills promise when guild becomes available
* @param delay the delay between checking guild availability
*/
async awaitAvailability(delay: number = 1000): Promise<void> {
async awaitAvailability(): Promise<void> {
return await new Promise((resolve, reject) => {
if(!this.unavailable) return;
const listener = (guild: Guild): void => {