feat: cleanup code (which probably does nothing but I am hopeful anyway)

This commit is contained in:
TresAbhi committed 2023-04-26 01:56:12 +00:00
1 parent 57cc67c8be
commit 91260aed2a
5 files changed
+49 -2

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ export interface CommandRegistry {
execute: (interaction: ChatInputCommandInteraction<CacheType>) => void;
}
const rest = new REST().setToken(process.env.DISCORD_TOKEN!);
export const rest = new REST().setToken(process.env.DISCORD_TOKEN!);
const commandFolders = readdirSync('src/commands/');
const commandCollection = new Collection<string, CommandRegistry>();
const guildCommands: RESTPostAPIChatInputApplicationCommandsJSONBody[] = [];