1
0
mirror of https://github.com/musix-org/musix-oss synced 2025-06-16 18:56:00 +00:00

patched error with keys (temporary)

This commit is contained in:
MatteZ02
2020-07-12 19:16:54 +03:00
parent 163b6ce836
commit 2686829e80
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ function findSimilar(client, queue, prevSongs, guild) {
limit: 10,
lastfmAPIKey: client.config.lastfm_api_key,
lastfmAPISecret: client.config.lastfm_secret,
youtubeAPIKey: client.config.api_keys[(client.shard.ids / 2).toFixed()],
youtubeAPIKey: client.config.api_keys[(client.shard.ids / 2).toFixed() || client.config.api_key],
},
async function (err, songs) {
if (err) {