aboutsummaryrefslogtreecommitdiff
path: root/src/commands/dev/eval.ts
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-11-01 15:40:31 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-11-01 15:40:31 -0400
commit13894f2beffc776a56ac03868613b4313dfb57bf (patch)
tree028c229b42c2a74a3c511386f594385d3ed77dd5 /src/commands/dev/eval.ts
parent914c4d3cb7f02a0c74b677e67a47fb66a65fb724 (diff)
downloadtanzanite-13894f2beffc776a56ac03868613b4313dfb57bf.tar.gz
tanzanite-13894f2beffc776a56ac03868613b4313dfb57bf.tar.bz2
tanzanite-13894f2beffc776a56ac03868613b4313dfb57bf.zip
convert to esm
Diffstat (limited to 'src/commands/dev/eval.ts')
-rw-r--r--src/commands/dev/eval.ts8
1 files changed, 5 insertions, 3 deletions
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,