then it up

This commit is contained in:
Dalton
2018-12-12 21:07:09 -08:00
parent 85675bf9ea
commit 721cc1578f

2
bot.js
View File

@@ -684,11 +684,11 @@ client.on('message', message => {
case 'async': case 'async':
let link = asyncImageRequest(message) let link = asyncImageRequest(message)
.then(link => message.channel.send(link))
.catch(error => { .catch(error => {
console.error('async:' + error.message); console.error('async:' + error.message);
}); });
sendToBotTestingChannel('link promise: ' + JSON.stringify(link)); sendToBotTestingChannel('link promise: ' + JSON.stringify(link));
message.channel.send(link);
break; break;
// Voice commands // Voice commands