Complete rewrite - Added slash commands

This commit is contained in:
2025-05-04 18:55:40 -05:00
parent 382ac41d7f
commit 6cae1d1eea
13 changed files with 3478 additions and 711 deletions

11
cmd/voice/radio.js Normal file
View File

@@ -0,0 +1,11 @@
const { SlashCommandBuilder } = require('discord.js');
const vcutil = require('../util/vc.js');
module.exports = {
data: new SlashCommandBuilder()
.setName('radio')
.setDescription('Play 24/7 SiIvaGunner music in a voice channel'),
async execute(interaction) {
const response = await vcutil.play(interaction, 'http://localhost:8000/live');
await interaction.reply(response);
},
};