Add command to play at random from server

This commit is contained in:
jude
2023-10-21 19:09:01 +01:00
parent d3e00247bd
commit 6cfdc10a6a
3 changed files with 70 additions and 4 deletions
+2 -2
View File
@@ -106,7 +106,7 @@ pub async fn play_from_query(
user_id: UserId,
channel: Option<ChannelId>,
query: &str,
loop_: bool,
r#loop: bool,
) -> String {
let guild_id = guild.id;
@@ -141,7 +141,7 @@ pub async fn play_from_query(
guild_data.read().await.volume,
&mut lock,
&data.database,
loop_,
r#loop,
)
.await
.unwrap();