Skip to content
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

Configuration file for bot and plugins #15

Closed
brenns10 opened this issue Nov 2, 2020 · 1 comment
Closed

Configuration file for bot and plugins #15

brenns10 opened this issue Nov 2, 2020 · 1 comment

Comments

@brenns10
Copy link
Owner

brenns10 commented Nov 2, 2020

Currently we provide all bot configuration on the command line. I've begun creating launcher scripts which contain all the options, so functionally we're abusing bash scripts as configuration files.

This actually isn't awful; it has worked for a while. But we've reached the point where plugins should be able to have configuration of their own, and this can't be achieved with command line arguments.

Integrate with libconfig (or an INI parser) to allow cbot to accept a configuration file.

@brenns10
Copy link
Owner Author

Implemented in 975978b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant