8go / matrix-eno-bot

An admin and personal assistence Matrix bot built on matrix-nio and nio-template
Apache License 2.0
88 stars 15 forks source link

Feature request: "reload" feature for reloading commands.yaml file without restarting bot #10

Open 8go opened 3 years ago

8go commented 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.

8go commented 3 years ago

The "reload" code would go into file bot_commands.py, somewhere around line 83.

8go commented 3 years ago

Anyone wanting to contribute this feature via a PR? All contributions are welcome :heart: