From b418c2186803b331199e6b010384d18f3f886ffe Mon Sep 17 00:00:00 2001 From: Dalton Date: Tue, 11 Dec 2018 22:23:54 -0800 Subject: [PATCH] async edits --- bot.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bot.js b/bot.js index 7dbb311..9e9207d 100644 --- a/bot.js +++ b/bot.js @@ -233,6 +233,9 @@ function asyncSiteRequest(url, process) { .then(data => { return process(data); }) + .then(res => { + return res; + }) .catch(error => { sendToBotTestingChannel('async:' + error.message); return "";