diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-04 17:07:38 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-04 17:07:38 -0400 |
commit | 1dee5bcda6a43eaa7fcc88ed3b0e458f32104de4 (patch) | |
tree | aa4ae8c7e2315d6ebd6500000a17d3a1c45b4c87 /src/listeners/commands | |
parent | 153a40fbcd314459f94d9a2b44d3466c930c4e35 (diff) | |
download | tanzanite-1dee5bcda6a43eaa7fcc88ed3b0e458f32104de4.tar.gz tanzanite-1dee5bcda6a43eaa7fcc88ed3b0e458f32104de4.tar.bz2 tanzanite-1dee5bcda6a43eaa7fcc88ed3b0e458f32104de4.zip |
cleaned up lib imports
Diffstat (limited to 'src/listeners/commands')
-rw-r--r-- | src/listeners/commands/commandBlocked.ts | 4 | ||||
-rw-r--r-- | src/listeners/commands/commandError.ts | 3 | ||||
-rw-r--r-- | src/listeners/commands/commandMissingPermissions.ts | 4 | ||||
-rw-r--r-- | src/listeners/commands/commandStarted.ts | 3 | ||||
-rw-r--r-- | src/listeners/commands/slashBlocked.ts | 4 | ||||
-rw-r--r-- | src/listeners/commands/slashCommandError.ts | 4 | ||||
-rw-r--r-- | src/listeners/commands/slashMissingPermissions.ts | 2 | ||||
-rw-r--r-- | src/listeners/commands/slashStarted.ts | 4 |
8 files changed, 8 insertions, 20 deletions
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() { |