fix death
This commit is contained in:
parent
6720bee0e5
commit
a4e568dec6
|
@ -26,6 +26,7 @@ module.exports.execute = function(message) {
|
|||
// Send the message to wit.ai
|
||||
client.message(message.content)
|
||||
.then(response => {
|
||||
if (message.deleted) return;
|
||||
let action = response.intents[0];
|
||||
|
||||
// "Execute" the intent.
|
||||
|
|
Loading…
Reference in a new issue