Open 8go opened 3 years ago
Another idea: a "reload" feature. Entering the command reload into the bot, the bot re-reads the commands.yaml file and thereby adds or drops new commands without the need to restart the bot process. Live-update of commands so-to-speak.
The "reload" code would go into file bot_commands.py, somewhere around line 83.
Anyone wanting to contribute this feature via a PR? All contributions are welcome :heart:
Another idea: a "reload" feature. Entering the command reload into the bot, the bot re-reads the commands.yaml file and thereby adds or drops new commands without the need to restart the bot process. Live-update of commands so-to-speak.