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':
let link = asyncImageRequest(message)
.then(link => message.channel.send(link))
.catch(error => {
console.error('async:' + error.message);
});
sendToBotTestingChannel('link promise: ' + JSON.stringify(link));
message.channel.send(link);
break;
// Voice commands