From 2cbe1f6f74ede9d35df0d84adbb15a78648ba509 Mon Sep 17 00:00:00 2001 From: zkldi Date: Sat, 11 Sep 2021 08:07:00 +0100 Subject: [PATCH] Move commands to `src/commands` Fixes #29 --- bot/src/{ => commands}/help/help.ts | 0 bot/src/slashCommands/register.ts | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename bot/src/{ => commands}/help/help.ts (100%) diff --git a/bot/src/help/help.ts b/bot/src/commands/help/help.ts similarity index 100% rename from bot/src/help/help.ts rename to bot/src/commands/help/help.ts diff --git a/bot/src/slashCommands/register.ts b/bot/src/slashCommands/register.ts index cf341743c..0216921e3 100644 --- a/bot/src/slashCommands/register.ts +++ b/bot/src/slashCommands/register.ts @@ -5,7 +5,7 @@ import { Routes } from "discord-api-types/v9"; import { Client, CommandInteraction } from "discord.js"; import { ProcessEnv } from "../setup"; import { LoggerLayers } from "../config"; -import { help } from "../help/help"; +import { help } from "../commands/help/help"; import { createLayeredLogger } from "../utils/logger"; const logger = createLayeredLogger(LoggerLayers.slashCommands);