16 lines
515 B
Rust

use super::SlashCommand;
use serenity::builder::CreateCommand;
use serenity::prelude::Context;
use serenity::model::application::interaction::Interaction;
use anyhow::Result;
inventory::submit! {
SlashCommand {
name: "join",
register: |c| c.name("join").description("Joins your voice channel"),
handler: |ctx: Context, interaction: Interaction| Box::pin(async move {
// TODO: Implement join logic (e.g., move bot to user voice channel)
Ok(())
}),
}
}