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

@@ -13,7 +13,9 @@ use crate::bot::ytdlp::{PlaylistItem, YtDlp};
use crate::error::{SirenResult, Error as SirenError};
use crate::HttpKey;
use super::{create_response, edit_response, get_songbird, is_valid_url, join_voice_channel};
use super::{
create_response, edit_response, get_songbird, is_valid_url, join_voice_channel, process_message,
};
pub async fn run(ctx: &Context, command: &CommandInteraction) {
// Process the command options
@@ -30,7 +32,7 @@ pub async fn run(ctx: &Context, command: &CommandInteraction) {
};
// Create the initial response
create_response(&ctx, &command, format!(".....")).await;
process_message(&ctx, &command).await;
// Get the songbird manager
let manager = get_songbird(ctx).await;