Skip to content

Commit acadd52

Browse files
committed
Fixed Build
1 parent 62ece5e commit acadd52

2 files changed

Lines changed: 2 additions & 9 deletions

File tree

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import "./libs/loadVariables.js";
22
import { Client, GatewayIntentBits, Partials, Collection } from "discord.js";
3-
import { Command, loadCommands } from "./libs/loadCommands.js";
3+
import { loadCommands } from "./libs/loadCommands.js";
44
import path from "path";
55
import fs from "fs";
66
import { fileURLToPath, pathToFileURL } from "url";

src/libs/loadCommands.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,7 @@ import { fileURLToPath, pathToFileURL } from "url";
1212
import { logger } from "./logger.js";
1313
import chalk from "chalk";
1414
import { client } from "../index.js";
15-
16-
export interface Command {
17-
data:
18-
| SlashCommandBuilder
19-
| SlashCommandSubcommandsOnlyBuilder
20-
| Omit<SlashCommandBuilder, "addSubcommand" | "addSubcommandGroup">;
21-
execute: (interaction: ChatInputCommandInteraction) => Promise<void>;
22-
}
15+
import { Command } from "../base/classes/command.js";
2316

2417
const __dirname = fileURLToPath(new URL('.', import.meta.url));
2518

0 commit comments

Comments
 (0)