Cleanup in play, play not working now

This commit is contained in:
2024-12-19 00:09:29 -05:00
parent 2ecfa92d8b
commit 8eeadcfd54
3 changed files with 11 additions and 6 deletions

View File

@@ -2,7 +2,7 @@ use std::sync::Arc;
use serenity::all::{CommandInteraction, CommandOptionType, CreateCommand, CreateCommandOption};
use serenity::model::prelude::GuildId;
use serenity::{prelude::*, async_trait};
use serenity::{prelude::*, async_trait, futures};
use songbird::input::{Input, YoutubeDl};
use songbird::tracks::TrackHandle;
use songbird::{Event, EventHandler, Songbird, TrackEvent};
@@ -10,7 +10,7 @@ use songbird::{Event, EventHandler, Songbird, TrackEvent};
use crate::data::guilds::GuildCache;
use crate::bot::ytdlp::{YtDlp, YtDlpItem};
use crate::error::{SirenResult, Error as SirenError};
use crate::HttpKey;
use crate::{signal_shutdown, HttpKey};
use super::{get_songbird, is_valid_url, join_voice_channel};