This solution doesn’t correspond with your feature request, but it solves your task, as if it were a support request.
- Stop your bot.
- Backup panelHandler.js located in yourBotFolder/scripts/handlers/ first, then open it in a text editor .
- Add the following code to a new line between lines #33 and #34:
Don’t forget to replace
yourCommandName with your command name.
- Save panelHandler.js.
This instruction is relevant for version 2.4.2. I’m not responsible for any possible errors, crashes, data loss, etc. resulting from the operation of this modification.