import { Collection } from "@discordjs/collection"; import { PingCommand } from "./impl/ping.js"; import { PositionCommand } from "./impl/position.js"; import { SongCommand } from "./impl/song.js"; import { StandCommand } from "./impl/stand.js"; import { TempCommand } from "./impl/temp.js"; import { VanishCommand } from "./impl/vanish.js"; import { VolumeCommand } from "./impl/volume.js"; import { WhereCommand } from "./impl/where.js"; import type { ICommand } from "./interface.js"; export const commands = new Collection(); const cmds: Array = []; cmds.push(new SongCommand()); cmds.push(new PingCommand()); cmds.push(new VanishCommand()); cmds.push(new PositionCommand()); cmds.push(new TempCommand()); cmds.push(new WhereCommand()); cmds.push(new VolumeCommand()); cmds.push(new StandCommand()); for (const command of cmds) { commands.set(command.name, command); }