-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: lib/bot: fix behavior for unconfigured bots
Add `enabled` and `run_mode` as members of the `Bot` class with default values. Log the system parameters in the same way as default and runtime parameters. Warn if disallowed system parameters are encountered. Warn if no configuration could be found in the runtime configuration file for the bot's ID. Re-initialize logging if logging parameters have been changed by environment variables.
- Loading branch information
Sebastian Wagner
committed
Aug 30, 2021
1 parent
eaaaeb2
commit e278acf
Showing
2 changed files
with
20 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters