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

Flatten configuration further #11

Closed
udoprog opened this issue Mar 19, 2019 · 1 comment
Closed

Flatten configuration further #11

udoprog opened this issue Mar 19, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@udoprog
Copy link
Owner

udoprog commented Mar 19, 2019

Completely remove [[irc.channel]] in favor of a [irc] channel argument.

Move currency configuration to root of config.

We can now only configure the bot to be present in a single channel.

@udoprog udoprog added the enhancement New feature or request label Mar 19, 2019
@udoprog
Copy link
Owner Author

udoprog commented Mar 19, 2019

New configuration (including currency) will go from this:

[irc]
bot = "setmod"
moderator_cooldown = "5s"
# whether to notify when viewers are rewarded with loyalty currency.
notify_rewards = false

[[irc.channels]]
name = "#setbac"
currency = {name = "ether"}

To this:

[irc]
bot = "setmod"
channel= "#setbac"
moderator_cooldown = "5s"
# whether to notify when viewers are rewarded with loyalty currency.
notify_rewards = false

[currency]
name = "ether"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant