diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-11 20:52:56 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-11 20:52:56 -0400 |
commit | 66b958cd1d38a8ba0d64ecd188bc8d90e850cfbb (patch) | |
tree | c1b586329f281d690b69247dca7311a080e91921 /src/commands/dev | |
parent | 5cc921fe1bdd24859ad1b15d73c86980de8f4ea0 (diff) | |
download | tanzanite-66b958cd1d38a8ba0d64ecd188bc8d90e850cfbb.tar.gz tanzanite-66b958cd1d38a8ba0d64ecd188bc8d90e850cfbb.tar.bz2 tanzanite-66b958cd1d38a8ba0d64ecd188bc8d90e850cfbb.zip |
fix: circular imports
Diffstat (limited to 'src/commands/dev')
-rw-r--r-- | src/commands/dev/eval.ts | 4 | ||||
-rw-r--r-- | src/commands/dev/reload.ts | 2 | ||||
-rw-r--r-- | src/commands/dev/setLevel.ts | 2 | ||||
-rw-r--r-- | src/commands/dev/superUser.ts | 2 | ||||
-rw-r--r-- | src/commands/dev/testDuration.ts | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/src/commands/dev/eval.ts b/src/commands/dev/eval.ts index 295d042..f3a30ab 100644 --- a/src/commands/dev/eval.ts +++ b/src/commands/dev/eval.ts @@ -1,11 +1,11 @@ /* eslint-disable @typescript-eslint/no-var-requires */ /* eslint-disable @typescript-eslint/no-unused-vars */ +import { BushCommand, BushMessage, BushSlashMessage } from '@lib'; import { exec } from 'child_process'; import { Constants } from 'discord-akairo'; import { CommandInteraction, MessageEmbed, MessageEmbedOptions, Util } from 'discord.js'; import { transpile } from 'typescript'; import { inspect, promisify } from 'util'; -import { BushCommand, BushMessage, BushSlashMessage } from '../../lib'; const clean = (text) => { if (typeof text === 'string') { @@ -181,7 +181,7 @@ export default class EvalCommand extends BushCommand { members = message.guild.members, roles = message.guild.roles, client = this.client, - { Ban, Global, Guild, Level, ModLog, StickyRole } = await import('../../lib'), + { Ban, Global, Guild, Level, ModLog, StickyRole } = await import('@lib'), { ButtonInteraction, Collector, diff --git a/src/commands/dev/reload.ts b/src/commands/dev/reload.ts index a66d755..c6a2140 100644 --- a/src/commands/dev/reload.ts +++ b/src/commands/dev/reload.ts @@ -1,4 +1,4 @@ -import { BushCommand, BushMessage, BushSlashMessage } from '../../lib'; +import { BushCommand, BushMessage, BushSlashMessage } from '@lib'; export default class ReloadCommand extends BushCommand { public constructor() { diff --git a/src/commands/dev/setLevel.ts b/src/commands/dev/setLevel.ts index fb2f41f..9c7daeb 100644 --- a/src/commands/dev/setLevel.ts +++ b/src/commands/dev/setLevel.ts @@ -1,5 +1,5 @@ +import { AllowedMentions, BushCommand, BushMessage, BushSlashMessage, Level } from '@lib'; import { User } from 'discord.js'; -import { AllowedMentions, BushCommand, BushMessage, BushSlashMessage, Level } from '../../lib'; export default class SetLevelCommand extends BushCommand { public constructor() { diff --git a/src/commands/dev/superUser.ts b/src/commands/dev/superUser.ts index 4d5ce2d..83623df 100644 --- a/src/commands/dev/superUser.ts +++ b/src/commands/dev/superUser.ts @@ -1,6 +1,6 @@ +import { BushCommand, BushMessage, BushSlashMessage, Global } from '@lib'; import { Constants } from 'discord-akairo'; import { User } from 'discord.js'; -import { BushCommand, BushMessage, BushSlashMessage, Global } from '../../lib'; export default class SuperUserCommand extends BushCommand { public constructor() { diff --git a/src/commands/dev/testDuration.ts b/src/commands/dev/testDuration.ts index 2fc757e..719292e 100644 --- a/src/commands/dev/testDuration.ts +++ b/src/commands/dev/testDuration.ts @@ -1,6 +1,6 @@ +import { BushCommand, BushSlashMessage } from '@lib'; import { stripIndents } from 'common-tags'; import { Message } from 'discord.js'; -import { BushCommand, BushSlashMessage } from '../../lib'; export default class TestDurationCommand extends BushCommand { public constructor() { |