aboutsummaryrefslogtreecommitdiff
path: root/src/listeners/commands
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-05-28 17:37:04 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-05-28 17:37:04 -0400
commitf1cdbd260c6c2249fc0d765949d44d889bcaedc8 (patch)
treea91883fc6de76d739f99c795f1248474df6f1efc /src/listeners/commands
parentf3cde793e778d1dc29b704d9cce560c6e929e6e8 (diff)
downloadtanzanite-f1cdbd260c6c2249fc0d765949d44d889bcaedc8.tar.gz
tanzanite-f1cdbd260c6c2249fc0d765949d44d889bcaedc8.tar.bz2
tanzanite-f1cdbd260c6c2249fc0d765949d44d889bcaedc8.zip
I can't read anything
Diffstat (limited to 'src/listeners/commands')
-rw-r--r--src/listeners/commands/commandBlocked.ts6
-rw-r--r--src/listeners/commands/commandError.ts6
-rw-r--r--src/listeners/commands/slashCommandError.ts6
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)