From 822a5f55bdabf45f472dddbd9400f63676821a77 Mon Sep 17 00:00:00 2001 From: Dalton Date: Wed, 12 Dec 2018 19:58:51 -0800 Subject: [PATCH] added debug --- bot.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bot.js b/bot.js index 98e1507..3f17906 100644 --- a/bot.js +++ b/bot.js @@ -229,8 +229,8 @@ async function loadJson(url, auth) { let response; if (auth) { response = await fetch(url, auth); - sendToBotTestingChannel(url); - sendToBotTestingChannel(auth); + sendToBotTestingChannel('imgur url:' + url); + sendToBotTestingChannel('imgur auth:' + auth); } else { response = await fetch(url); } @@ -679,7 +679,7 @@ client.on('message', message => { case 'async': asyncImageRequest(message) .catch(error => { - sendToBotTestingChannel(error.message); + sendToBotTestingChannel('async:' + error.message); }); break;