diff --git a/discord-bot-core/HandleMessage.js b/discord-bot-core/HandleMessage.js index 6a48bac..5a6b235 100644 --- a/discord-bot-core/HandleMessage.js +++ b/discord-bot-core/HandleMessage.js @@ -13,7 +13,7 @@ function handleMessage(client, message, commands, guildData) { command = commands[Object.keys(commands).find(x => commands[x].name.toLowerCase() === (split[1] || "").toLowerCase())]; if (!command) - handleInternalCommand(message, params); + handleInternalCommand(message, split); else if (params.length < command.expectedParamCount) message.reply(`Incorrect syntax!\n**Expected:** *${botName} ${command.syntax}*\n**Need help?** *${botName} help*`); else if(isMemberAdmin || !command.admin)