import type { DiscordCommandExecute } from "../command"; export const defineCommands = [ (await import("./getReadChannels")).default, (await import("./getStatus")).default, (await import("./joinVoiceChannel")).default, (await import("./leaveVoiceChannel")).default, (await import("./playVoice")).default, (await import("./readChannel")).default, (await import("./setNya")).default, (await import("./setSupertonicStyle")).default, (await import("./setVoice")).default, (await import("./skipCurrent")).default, (await import("./unreadChannel")).default, ]; export const commandExecuteNameHashMap: { [key: string]: DiscordCommandExecute; } = Object.fromEntries( defineCommands.map((command) => [command.data.name, command.execute]), );