From f1bcdf1c1f1fdc8001d96cb39449c682c3c529a8 Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Fri, 3 Nov 2017 14:19:13 -0400 Subject: [PATCH] extend deletion timeout on invalid command --- bot/bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/bot.js b/bot/bot.js index b3327c8..2ab6e23 100644 --- a/bot/bot.js +++ b/bot/bot.js @@ -151,7 +151,7 @@ function checkMessageForCommand(msg, isEdit) { } else { msg.channel .send(cmdTxt + " not recognized as a command!") - .then(message => message.delete(5000)); + .then(message => message.delete(10000)); } } else { //message isn't a command or is from us