'auto-github' should be a BoolSetting, not a Setting

This commit is contained in:
jesopo 2019-06-28 23:26:53 +01:00
parent 756396d758
commit 0e9aebdb81

View file

@ -25,7 +25,7 @@ API_PULL_URL = "https://api.github.com/repos/%s/%s/pulls/%s"
@utils.export("channelset", utils.Setting("github-default-repo",
"Set the default github repo for the current channel",
example="jesopo/bitbot"))
@utils.export("channelset", utils.Setting("auto-github",
@utils.export("channelset", utils.BoolSetting("auto-github",
"Enable/disable automatically getting github issue/PR info"))
@utils.export("channelset", utils.IntSetting("auto-github-cooldown",
"Set amount of seconds between auto-github duplicates", example="300"))