modmailbot
modmailbot copied to clipboard
Allow bots to use MM's commands via a whitelist
This would be really useful to automate actions according to our needs without needing to implement these automations to the bot in form of plugins.
I'm pretty sure this must be easy to setup, you guys just need to remove the if (message.author.bot) return;
lines from MM's core code, and instead setup a "validate bots" option like allowBots[] = bot_ID_here
.
Once done, MM would listen to commands sent by bots, but only from those whitelisted in our config.ini file.
Please add this! Thanks for reading.