minor tweaks

This commit is contained in:
2024-10-12 18:22:41 -04:00
parent 38841369fc
commit 8ee7c524af
4 changed files with 23 additions and 21 deletions

View File

@@ -55,6 +55,10 @@ pub async fn leave_voice_channel(manager: &Arc<Songbird>, guild_id: &GuildId) ->
Ok(())
}
pub async fn process_message(ctx: &Context, command: &CommandInteraction) {
create_response(&ctx, &command, format!("Processing...")).await;
}
pub async fn create_response(ctx: &Context, command: &CommandInteraction, content: String) {
let data = CreateInteractionResponseMessage::new().content(content.to_owned());
let builder = CreateInteractionResponse::Message(data);