From 262917d623d212fdb0c1a708eb026fcd57aab24e Mon Sep 17 00:00:00 2001 From: Matte <51192395+MatteZ02@users.noreply.github.com> Date: Thu, 19 Mar 2020 20:25:38 +0200 Subject: [PATCH] Update play.js --- commands/play.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/play.js b/commands/play.js index 6e473faa..00c952b6 100644 --- a/commands/play.js +++ b/commands/play.js @@ -42,6 +42,7 @@ 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;