Add command to play at random from server
This commit is contained in:
+2
-2
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user