mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-22 21:13:18 +00:00
Update play.js
This commit is contained in:
parent
262917d623
commit
4d5c33ddf7
@ -42,7 +42,6 @@ module.exports = {
|
||||
var video = await youtube.getVideoByID(videos[0].id);
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
client.debug_channel.send(err);
|
||||
if (err.code === 403) {
|
||||
if (client.config.api_key === client.config.api_key) {
|
||||
client.config.api_key = client.config.api_key2;
|
||||
|
Loading…
Reference in New Issue
Block a user