Format and cleanup code

This commit is contained in:
2024-12-18 20:13:12 -05:00
parent aa7bad945a
commit 83ef124c41
15 changed files with 106 additions and 109 deletions

View File

@@ -7,7 +7,6 @@ use songbird::input::{Input, YoutubeDl};
use songbird::tracks::TrackHandle;
use songbird::{Event, EventHandler, Songbird, TrackEvent};
use crate::bot::commands::audio::leave_voice_channel;
use crate::data::guilds::GuildCache;
use crate::bot::ytdlp::{YtDlp, YtDlpItem};
use crate::error::{SirenResult, Error as SirenError};
@@ -15,7 +14,7 @@ use crate::HttpKey;
use super::{get_songbird, is_valid_url, join_voice_channel};
use crate::bot::commands::{create_response, edit_response, process_message};
use crate::bot::chat::{create_response, edit_response, process_message};
pub async fn run(ctx: &Context, command: &CommandInteraction) {
// Process the command options