Browse Source

Add extra parameters to be passed to bot onCommand method

shorten
benji7425 4 years ago
parent
commit
049ce4d2a8
  1. 2
      app/index.js

2
app/index.js

@ -83,7 +83,7 @@ const HandleMessage = {
break;
default:
if (finalisedParams.length >= expectedParamCount)
Bot.onCommand(commandObj, config.commands, finalisedParams, guildData, message)
Bot.onCommand(commandObj, config.commands, finalisedParams, guildData, message, config, client, botName)
.then(msg => {
message.reply(msg);
writeFile();

Loading…
Cancel
Save