then it up
This commit is contained in:
2
bot.js
2
bot.js
@@ -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
|
||||
|
Reference in New Issue
Block a user