home assistant integration; volume for tidal; do some abstracting

This commit is contained in:
Darius
2025-10-02 21:36:19 +02:00
parent 9097266197
commit 0c54b1f776
12 changed files with 390 additions and 33 deletions

View File

@@ -1,7 +1,11 @@
import { Collection } from "@discordjs/collection";
import { PingCommand } from "./impl/ping.ts";
import { PositionCommand } from "./impl/position.ts";
import { SongCommand } from "./impl/song.ts";
import { TempCommand } from "./impl/temp.ts";
import { VanishCommand } from "./impl/vanish.ts";
import { VolumeCommand } from "./impl/volume.ts";
import { WhereCommand } from "./impl/where.ts";
import type { ICommand } from "./interface.ts";
export const commands = new Collection<string, ICommand>();
@@ -10,6 +14,10 @@ const cmds: Array<ICommand> = [];
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());
for (const command of cmds) {
commands.set(command.name, command);