minor tweaks
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user