From 1dee5bcda6a43eaa7fcc88ed3b0e458f32104de4 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Sun, 4 Jul 2021 17:07:38 -0400 Subject: cleaned up lib imports --- src/listeners/commands/commandBlocked.ts | 4 +--- src/listeners/commands/commandError.ts | 3 +-- src/listeners/commands/commandMissingPermissions.ts | 4 +--- src/listeners/commands/commandStarted.ts | 3 +-- src/listeners/commands/slashBlocked.ts | 4 +--- src/listeners/commands/slashCommandError.ts | 4 +--- src/listeners/commands/slashMissingPermissions.ts | 2 +- src/listeners/commands/slashStarted.ts | 4 +--- 8 files changed, 8 insertions(+), 20 deletions(-) (limited to 'src/listeners/commands') diff --git a/src/listeners/commands/commandBlocked.ts b/src/listeners/commands/commandBlocked.ts index 342e025..aebc05d 100644 --- a/src/listeners/commands/commandBlocked.ts +++ b/src/listeners/commands/commandBlocked.ts @@ -1,6 +1,4 @@ -import { BushCommand } from '../../lib/extensions/discord-akairo/BushCommand'; -import { BushListener } from '../../lib/extensions/discord-akairo/BushListener'; -import { BushMessage } from '../../lib/extensions/discord.js/BushMessage'; +import { BushCommand, BushListener, BushMessage } from '../../lib'; export default class CommandBlockedListener extends BushListener { public constructor() { diff --git a/src/listeners/commands/commandError.ts b/src/listeners/commands/commandError.ts index d80a2bc..0e84571 100644 --- a/src/listeners/commands/commandError.ts +++ b/src/listeners/commands/commandError.ts @@ -1,8 +1,7 @@ import { stripIndents } from 'common-tags'; import { Command } from 'discord-akairo'; import { MessageEmbed } from 'discord.js'; -import { BushListener } from '../../lib/extensions/discord-akairo/BushListener'; -import { BushMessage } from '../../lib/extensions/discord.js/BushMessage'; +import { BushListener, BushMessage } from '../../lib'; export default class CommandErrorListener extends BushListener { public constructor() { diff --git a/src/listeners/commands/commandMissingPermissions.ts b/src/listeners/commands/commandMissingPermissions.ts index bef8e9c..7f04304 100644 --- a/src/listeners/commands/commandMissingPermissions.ts +++ b/src/listeners/commands/commandMissingPermissions.ts @@ -1,7 +1,5 @@ import { PermissionString } from 'discord.js'; -import { BushCommand } from '../../lib/extensions/discord-akairo/BushCommand'; -import { BushListener } from '../../lib/extensions/discord-akairo/BushListener'; -import { BushMessage } from '../../lib/extensions/discord.js/BushMessage'; +import { BushCommand, BushListener, BushMessage } from '../../lib'; export default class CommandMissingPermissionsListener extends BushListener { public constructor() { diff --git a/src/listeners/commands/commandStarted.ts b/src/listeners/commands/commandStarted.ts index 02726f3..4f8c13c 100644 --- a/src/listeners/commands/commandStarted.ts +++ b/src/listeners/commands/commandStarted.ts @@ -1,6 +1,5 @@ import { Message } from 'discord.js'; -import { BushCommand } from '../../lib/extensions/discord-akairo/BushCommand'; -import { BushListener } from '../../lib/extensions/discord-akairo/BushListener'; +import { BushCommand, BushListener } from '../../lib'; export default class CommandStartedListener extends BushListener { public constructor() { diff --git a/src/listeners/commands/slashBlocked.ts b/src/listeners/commands/slashBlocked.ts index 04180f7..a2e4b0e 100644 --- a/src/listeners/commands/slashBlocked.ts +++ b/src/listeners/commands/slashBlocked.ts @@ -1,6 +1,4 @@ -import { BushCommand } from '../../lib/extensions/discord-akairo/BushCommand'; -import { BushListener } from '../../lib/extensions/discord-akairo/BushListener'; -import { BushSlashMessage } from '../../lib/extensions/discord-akairo/BushSlashMessage'; +import { BushCommand, BushListener, BushSlashMessage } from '../../lib'; export default class SlashBlockedListener extends BushListener { public constructor() { diff --git a/src/listeners/commands/slashCommandError.ts b/src/listeners/commands/slashCommandError.ts index 6bbb462..1fa9dfa 100644 --- a/src/listeners/commands/slashCommandError.ts +++ b/src/listeners/commands/slashCommandError.ts @@ -1,8 +1,6 @@ import { stripIndents } from 'common-tags'; import { MessageEmbed } from 'discord.js'; -import { BushCommand } from '../../lib/extensions/discord-akairo/BushCommand'; -import { BushListener } from '../../lib/extensions/discord-akairo/BushListener'; -import { BushSlashMessage } from '../../lib/extensions/discord-akairo/BushSlashMessage'; +import { BushCommand, BushListener, BushSlashMessage } from '../../lib'; export default class SlashCommandErrorListener extends BushListener { public constructor() { diff --git a/src/listeners/commands/slashMissingPermissions.ts b/src/listeners/commands/slashMissingPermissions.ts index d8f32cf..85cb5dd 100644 --- a/src/listeners/commands/slashMissingPermissions.ts +++ b/src/listeners/commands/slashMissingPermissions.ts @@ -1,6 +1,6 @@ import { Command } from 'discord-akairo'; import { CommandInteraction } from 'discord.js'; -import { BushListener } from '../../lib/extensions/discord-akairo/BushListener'; +import { BushListener } from '../../lib'; export default class SlashMissingPermissionsListener extends BushListener { public constructor() { diff --git a/src/listeners/commands/slashStarted.ts b/src/listeners/commands/slashStarted.ts index d6d5c3a..c6a6351 100644 --- a/src/listeners/commands/slashStarted.ts +++ b/src/listeners/commands/slashStarted.ts @@ -1,6 +1,4 @@ -import { BushCommand } from '../../lib/extensions/discord-akairo/BushCommand'; -import { BushListener } from '../../lib/extensions/discord-akairo/BushListener'; -import { BushSlashMessage } from '../../lib/extensions/discord-akairo/BushSlashMessage'; +import { BushCommand, BushListener, BushSlashMessage } from '../../lib'; export default class SlashStartedListener extends BushListener { public constructor() { -- cgit