aboutsummaryrefslogtreecommitdiff
path: root/src/listeners/commands
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-05-26 21:36:50 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-05-26 21:36:50 -0400
commit0caccda67d97dd74405aa4ece5d3f07e7c7dfc66 (patch)
treeac124c6c059d96f33fdd3bf1cfec282d8792f16b /src/listeners/commands
parent481a157a177e60f023b59e4e9acffc549760db40 (diff)
downloadtanzanite-0caccda67d97dd74405aa4ece5d3f07e7c7dfc66.tar.gz
tanzanite-0caccda67d97dd74405aa4ece5d3f07e7c7dfc66.tar.bz2
tanzanite-0caccda67d97dd74405aa4ece5d3f07e7c7dfc66.zip
some rebranding
Diffstat (limited to 'src/listeners/commands')
-rw-r--r--src/listeners/commands/commandblocked.ts4
-rw-r--r--src/listeners/commands/commandstarted.ts8
-rw-r--r--src/listeners/commands/error.ts8
-rw-r--r--src/listeners/commands/slashError.ts8
4 files changed, 14 insertions, 14 deletions
diff --git a/src/listeners/commands/commandblocked.ts b/src/listeners/commands/commandblocked.ts
index 82e53a9..dee1319 100644
--- a/src/listeners/commands/commandblocked.ts
+++ b/src/listeners/commands/commandblocked.ts
@@ -1,8 +1,8 @@
-import { BotListener } from '../../lib/extensions/BotListener';
+import { BushListener } from '../../lib/extensions/BushListener';
import { Command } from 'discord-akairo';
import { Message } from 'discord.js';
-export default class CommandBlockedListener extends BotListener {
+export default class CommandBlockedListener extends BushListener {
public constructor() {
super('commandBlocked', {
emitter: 'commandHandler',
diff --git a/src/listeners/commands/commandstarted.ts b/src/listeners/commands/commandstarted.ts
index 15eea9d..d81ed59 100644
--- a/src/listeners/commands/commandstarted.ts
+++ b/src/listeners/commands/commandstarted.ts
@@ -1,16 +1,16 @@
import chalk from 'chalk';
import { Message, DMChannel } from 'discord.js';
-import { BotCommand } from '../../lib/extensions/BotCommand';
-import { BotListener } from '../../lib/extensions/BotListener';
+import { BushCommand } from '../../lib/extensions/BushCommand';
+import { BushListener } from '../../lib/extensions/BushListener';
-export default class CommandStartedListener extends BotListener {
+export default class CommandStartedListener extends BushListener {
constructor() {
super('logCommands', {
emitter: 'commandHandler',
event: 'commandStarted'
});
}
- exec(message: Message, command: BotCommand): void {
+ exec(message: Message, command: BushCommand): void {
this.client.logger.verbose(
chalk`{cyan {green ${message.author.tag}} is running {green ${
command.aliases[0]
diff --git a/src/listeners/commands/error.ts b/src/listeners/commands/error.ts
index 37179e7..518545a 100644
--- a/src/listeners/commands/error.ts
+++ b/src/listeners/commands/error.ts
@@ -1,11 +1,11 @@
-import { BotCommand } from '../../lib/extensions/BotCommand';
-import { BotListener } from '../../lib/extensions/BotListener';
+import { BushCommand } from '../../lib/extensions/BushCommand';
+import { BushListener } from '../../lib/extensions/BushListener';
import { stripIndents } from 'common-tags';
import { Message } from 'discord.js';
import { MessageEmbed } from 'discord.js';
import { TextChannel } from 'discord.js';
-export default class CommandErrorListener extends BotListener {
+export default class CommandErrorListener extends BushListener {
constructor() {
super('error', {
emitter: 'commandHandler',
@@ -15,7 +15,7 @@ export default class CommandErrorListener extends BotListener {
async exec(
error: Error,
message: Message,
- command?: BotCommand
+ command?: BushCommand
): Promise<void> {
const errorNumber = Math.floor(Math.random() * 6969696969) + 69; // hehe funy numbers
const errorDevEmbed = this.client.util
diff --git a/src/listeners/commands/slashError.ts b/src/listeners/commands/slashError.ts
index 3b174a3..3f2260d 100644
--- a/src/listeners/commands/slashError.ts
+++ b/src/listeners/commands/slashError.ts
@@ -1,11 +1,11 @@
-import { BotCommand } from '../../lib/extensions/BotCommand';
-import { BotListener } from '../../lib/extensions/BotListener';
+import { BushCommand } from '../../lib/extensions/BushCommand';
+import { BushListener } from '../../lib/extensions/BushListener';
import { stripIndents } from 'common-tags';
import { MessageEmbed } from 'discord.js';
import { TextChannel } from 'discord.js';
import { CommandInteraction } from 'discord.js';
-export default class CommandErrorListener extends BotListener {
+export default class CommandErrorListener extends BushListener {
constructor() {
super('slashError', {
emitter: 'commandHandler',
@@ -15,7 +15,7 @@ export default class CommandErrorListener extends BotListener {
async exec(
error: Error,
message: CommandInteraction,
- command: BotCommand
+ command: BushCommand
): Promise<void> {
const errorNumber = Math.floor(Math.random() * 6969696969) + 69; // hehe funy numbers
const errorDevEmbed = this.client.util