From 0caccda67d97dd74405aa4ece5d3f07e7c7dfc66 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Wed, 26 May 2021 21:36:50 -0400 Subject: some rebranding --- src/listeners/commands/commandblocked.ts | 4 ++-- src/listeners/commands/commandstarted.ts | 8 ++++---- src/listeners/commands/error.ts | 8 ++++---- src/listeners/commands/slashError.ts | 8 ++++---- 4 files changed, 14 insertions(+), 14 deletions(-) (limited to 'src/listeners/commands') 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 { 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 { const errorNumber = Math.floor(Math.random() * 6969696969) + 69; // hehe funy numbers const errorDevEmbed = this.client.util -- cgit