diff --git a/src/Command.ts b/src/Command.ts index 5be5488..b7894a7 100644 --- a/src/Command.ts +++ b/src/Command.ts @@ -53,7 +53,7 @@ class Command { this.visible = options.visible != undefined ? options.visible : true; this.function = options.function; } - async start(message?: Message, cmdArguments?: string[]) { + async start(message?: Message, cmdArguments?: string[]) : Promise { const memberPermissions : Readonly = message?.member?.permissions || new Permissions(0); if(memberPermissions.has(this.permissions, true)) { const fnResult = await this.function(message, cmdArguments);