modmailbot icon indicating copy to clipboard operation
modmailbot copied to clipboard

Allow bots to use MM's commands via a whitelist

Open Hector1801 opened this issue 3 years ago • 0 comments

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.

Hector1801 avatar Sep 20 '21 22:09 Hector1801