diff options
Diffstat (limited to 'src/commands/dev')
-rw-r--r-- | src/commands/dev/__template.ts | 2 | ||||
-rw-r--r-- | src/commands/dev/eval.ts | 8 | ||||
-rw-r--r-- | src/commands/dev/reload.ts | 2 | ||||
-rw-r--r-- | src/commands/dev/say.ts | 2 | ||||
-rw-r--r-- | src/commands/dev/servers.ts | 2 | ||||
-rw-r--r-- | src/commands/dev/sh.ts | 2 | ||||
-rw-r--r-- | src/commands/dev/superUser.ts | 2 | ||||
-rw-r--r-- | src/commands/dev/test.ts | 14 |
8 files changed, 18 insertions, 16 deletions
diff --git a/src/commands/dev/__template.ts b/src/commands/dev/__template.ts index 85cc06e..fe685ff 100644 --- a/src/commands/dev/__template.ts +++ b/src/commands/dev/__template.ts @@ -1,4 +1,4 @@ -import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib'; +import { BushCommand, type BushMessage, type BushSlashMessage } from '#lib'; export default class TemplateCommand extends BushCommand { public constructor() { diff --git a/src/commands/dev/eval.ts b/src/commands/dev/eval.ts index e22f937..b82534c 100644 --- a/src/commands/dev/eval.ts +++ b/src/commands/dev/eval.ts @@ -1,9 +1,11 @@ -import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib'; +import { BushCommand, type BushMessage, type BushSlashMessage } from '#lib'; import { exec } from 'child_process'; import { MessageEmbed as _MessageEmbed } from 'discord.js'; -import { transpile } from 'typescript'; +import ts from 'typescript'; import { promisify } from 'util'; +const { transpile } = ts; + export default class EvalCommand extends BushCommand { public constructor() { super('eval', { @@ -98,7 +100,7 @@ export default class EvalCommand extends BushCommand { roles = message.guild?.roles, emojis = util.emojis, colors = util.colors, - { ActivePunishment, Global, Guild, Level, ModLog, StickyRole } = await import('@lib'), + { ActivePunishment, Global, Guild, Level, ModLog, StickyRole } = await import('#lib'), { ButtonInteraction, Collection, diff --git a/src/commands/dev/reload.ts b/src/commands/dev/reload.ts index 7920a37..cbabb48 100644 --- a/src/commands/dev/reload.ts +++ b/src/commands/dev/reload.ts @@ -1,4 +1,4 @@ -import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib'; +import { BushCommand, type BushMessage, type BushSlashMessage } from '#lib'; export default class ReloadCommand extends BushCommand { public constructor() { diff --git a/src/commands/dev/say.ts b/src/commands/dev/say.ts index 3a8b2de..400a132 100644 --- a/src/commands/dev/say.ts +++ b/src/commands/dev/say.ts @@ -1,4 +1,4 @@ -import { AllowedMentions, BushCommand, type BushMessage, type BushSlashMessage } from '@lib'; +import { AllowedMentions, BushCommand, type BushMessage, type BushSlashMessage } from '#lib'; export default class SayCommand extends BushCommand { public constructor() { diff --git a/src/commands/dev/servers.ts b/src/commands/dev/servers.ts index 4b98ed9..e8a2fe4 100644 --- a/src/commands/dev/servers.ts +++ b/src/commands/dev/servers.ts @@ -1,4 +1,4 @@ -import { BushCommand, ButtonPaginator, type BushMessage, type BushSlashMessage } from '@lib'; +import { BushCommand, ButtonPaginator, type BushMessage, type BushSlashMessage } from '#lib'; import { type Guild, type MessageEmbedOptions } from 'discord.js'; export default class ServersCommand extends BushCommand { diff --git a/src/commands/dev/sh.ts b/src/commands/dev/sh.ts index e32408d..83432f4 100644 --- a/src/commands/dev/sh.ts +++ b/src/commands/dev/sh.ts @@ -1,4 +1,4 @@ -import { BushCommand, type BushMessage, type BushSlashMessage } from '@lib'; +import { BushCommand, type BushMessage, type BushSlashMessage } from '#lib'; import chalk from 'chalk'; import { exec } from 'child_process'; import { MessageEmbed, Util } from 'discord.js'; diff --git a/src/commands/dev/superUser.ts b/src/commands/dev/superUser.ts index 41cd7eb..17d81ac 100644 --- a/src/commands/dev/superUser.ts +++ b/src/commands/dev/superUser.ts @@ -1,4 +1,4 @@ -import { BushCommand, Global, type BushMessage, type BushSlashMessage } from '@lib'; +import { BushCommand, Global, type BushMessage, type BushSlashMessage } from '#lib'; import { type ArgumentOptions, type Flag } from 'discord-akairo'; import { type User } from 'discord.js'; diff --git a/src/commands/dev/test.ts b/src/commands/dev/test.ts index d6c20f7..d4109f4 100644 --- a/src/commands/dev/test.ts +++ b/src/commands/dev/test.ts @@ -1,11 +1,11 @@ -import { BushCommand, ButtonPaginator, type BushMessage } from '@lib'; +import { BushCommand, ButtonPaginator, type BushMessage } from '#lib'; import { - Constants as jsConstants, - MessageActionRow, - MessageButton, - MessageEmbed, - type ApplicationCommand, - type Collection + Constants as jsConstants, + MessageActionRow, + MessageButton, + MessageEmbed, + type ApplicationCommand, + type Collection } from 'discord.js'; export default class TestCommand extends BushCommand { |