Version 0.2.0-alpha - Ajout du Player

This commit is contained in:
2025-02-25 16:39:18 +01:00
parent b054c8a316
commit 6f3847138b
19 changed files with 5175 additions and 12 deletions

View File

@@ -0,0 +1,15 @@
const { Command } = require("../Command");
const { Embed, EmbedError } = require("../Embed");
const { Player } = require("../../player/Player");
const command = new Command("play", "Jouer une musique à partir d'un lien dans un salon vocal", (client, interaction) => {
if(!interaction.member.voice.channel) return new EmbedError("Vous devez rejoindre un salon vocal pour jouer une musique !").send(interaction)
const url = interaction.options.get("url")
const channel = interaction.member.voice.channel
}, [{type: "STRING", name: "url", description: "Lien audio (Youtube / Soundclound / Spotify)", required: true}]
)
module.exports = {command}