summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-09-25 01:07:35 -0700
committerFuwn <[email protected]>2025-09-25 01:07:35 -0700
commit87cec8cb9588b044bd32298a54ab77f11c139521 (patch)
tree33b36ae103545955872812c3ab86086a03234470 /packages
parentchore: Remove unused NPM lock-file (diff)
downloadumabotdiscord-87cec8cb9588b044bd32298a54ab77f11c139521.tar.xz
umabotdiscord-87cec8cb9588b044bd32298a54ab77f11c139521.zip
refactor: Move commands into a commands module
Diffstat (limited to 'packages')
-rw-r--r--packages/interactions/discord/commands/index.ts (renamed from packages/interactions/discord/commands.ts)2
-rw-r--r--packages/interactions/register.ts2
-rw-r--r--packages/interactions/server.ts2
3 files changed, 3 insertions, 3 deletions
diff --git a/packages/interactions/discord/commands.ts b/packages/interactions/discord/commands/index.ts
index 601591b..115ad4d 100644
--- a/packages/interactions/discord/commands.ts
+++ b/packages/interactions/discord/commands/index.ts
@@ -1,4 +1,4 @@
-import type { DiscordCommand } from "./interfaces.ts";
+import type { DiscordCommand } from "../interfaces.ts";
export type { DiscordCommand };
diff --git a/packages/interactions/register.ts b/packages/interactions/register.ts
index a23c9c8..7a9078b 100644
--- a/packages/interactions/register.ts
+++ b/packages/interactions/register.ts
@@ -8,7 +8,7 @@ import {
COLOURS_COMMAND,
ROLEPLAY_SERIOUS_COMMAND,
type DiscordCommand,
-} from "./discord/commands.ts";
+} from "./discord/commands";
import dotenv from "dotenv";
import process from "node:process";
diff --git a/packages/interactions/server.ts b/packages/interactions/server.ts
index 097f69f..46bef06 100644
--- a/packages/interactions/server.ts
+++ b/packages/interactions/server.ts
@@ -9,7 +9,7 @@ import {
APPEAL_COMMAND,
COLOURS_COMMAND,
ROLEPLAY_SERIOUS_COMMAND,
-} from "./discord/commands.ts";
+} from "./discord/commands";
import {
getCutePost,
getRoleplayPost,