From fb5715de67229274731fc2133fa3a4fd49dee775 Mon Sep 17 00:00:00 2001 From: SerekKiri Date: Thu, 17 Jan 2019 12:39:56 +0100 Subject: [PATCH] fix: Hot Fox number ... --- src/commands/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/index.js b/src/commands/index.js index e6290c6..46cc6f0 100644 --- a/src/commands/index.js +++ b/src/commands/index.js @@ -36,7 +36,7 @@ module.exports.check = function(message) { const pref = message.content.toLowerCase().startsWith(config.Prefix) if (pref) { - if(commands[args[0] != undefined) { + if(commands[args[0]] != undefined) { return commands[args[0]](message) } else {