diff options
Diffstat (limited to 'src/listeners/commands')
| -rw-r--r-- | src/listeners/commands/commandBlocked.ts | 6 | ||||
| -rw-r--r-- | src/listeners/commands/commandError.ts | 6 | ||||
| -rw-r--r-- | src/listeners/commands/slashCommandError.ts | 6 |
3 files changed, 3 insertions, 15 deletions
diff --git a/src/listeners/commands/commandBlocked.ts b/src/listeners/commands/commandBlocked.ts index dee1319..a6a7e7e 100644 --- a/src/listeners/commands/commandBlocked.ts +++ b/src/listeners/commands/commandBlocked.ts @@ -10,11 +10,7 @@ export default class CommandBlockedListener extends BushListener { }); } - public async exec( - message: Message, - command: Command, - reason: string - ): Promise<void> { + public async exec(message: Message, command: Command, reason: string): Promise<void> { switch (reason) { case 'owner': { await message.util.send( diff --git a/src/listeners/commands/commandError.ts b/src/listeners/commands/commandError.ts index 518545a..c5d6a74 100644 --- a/src/listeners/commands/commandError.ts +++ b/src/listeners/commands/commandError.ts @@ -12,11 +12,7 @@ export default class CommandErrorListener extends BushListener { event: 'error' }); } - async exec( - error: Error, - message: Message, - command?: BushCommand - ): Promise<void> { + async exec(error: Error, message: Message, command?: BushCommand): Promise<void> { const errorNumber = Math.floor(Math.random() * 6969696969) + 69; // hehe funy numbers const errorDevEmbed = this.client.util .createEmbed(this.client.util.colors.error) diff --git a/src/listeners/commands/slashCommandError.ts b/src/listeners/commands/slashCommandError.ts index a2b7bb7..32ccd90 100644 --- a/src/listeners/commands/slashCommandError.ts +++ b/src/listeners/commands/slashCommandError.ts @@ -12,11 +12,7 @@ export default class SlashCommandErrorListener extends BushListener { event: 'slashError' }); } - async exec( - error: Error, - message: CommandInteraction, - command: BushCommand - ): Promise<void> { + async exec(error: Error, message: CommandInteraction, command: BushCommand): Promise<void> { const errorNumber = Math.floor(Math.random() * 6969696969) + 69; // hehe funy numbers const errorDevEmbed = this.client.util .createEmbed(this.client.util.colors.error) |
