mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 02:00:20 +00:00
patch
This commit is contained in:
parent
1c0d89dada
commit
c2e5e34088
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "musix",
|
||||
"version": "3.8.2",
|
||||
"version": "3.8.3",
|
||||
"description": "V3 for Musix the discord music bot",
|
||||
"main": "./index.js",
|
||||
"scripts": {
|
||||
|
@ -41,8 +41,8 @@ function findSimilar(client, queue, prevSongs, guild) {
|
||||
let retries = 0;
|
||||
const query =
|
||||
prevSongs[Math.floor(Math.random() * Math.floor(prevSongs.length))];
|
||||
similarSongs.find(
|
||||
{
|
||||
if (!query || !query.track) return client.funcs.play(guild, queue.songs[0], client, 0, true);
|
||||
similarSongs.find({
|
||||
title: query.track.name,
|
||||
artist: query.track.artists[0].name,
|
||||
limit: 10,
|
||||
|
Loading…
Reference in New Issue
Block a user