-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to read bot configuration from file #185
Comments
What does this mean in practice? |
It would mean that all of the things are configurable via a config file, like command prefix (shouldn't be hardcoded to !), ability to add storage (sqlite for example, which is needed for encryption), and the main running of the app would need to use the config values if present, and only fallback to environment variables if config doesn't have those. |
Ok, I'd accept a PR for this but by design Hemppa by default must work with no config file and everything (excluding basic params currently in env variables) must be configurable interactively with commands. |
The only local state we try and store is login information. We keep as much as possible in user data on the connected matrix server (if we add support for changing the prefix, we'd store it there too). My bot has a lot of state (about 200 meaningful entries* in (* 200 meaningful entries:)
|
I would like to see an global config system, that would help with getting customizable command prefix.
The text was updated successfully, but these errors were encountered: