aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-06-28 23:26:53 +0100
committerGravatar jesopo2019-06-28 23:26:53 +0100
commit0e9aebdb817976a8db1ea099bf3293c2ba7fece3 (patch)
tree6e39bc3ba6fb419c3c36ff0d4d158c6fc249f25f
parentImplement utils.OptionsSetting (diff)
signature
'auto-github' should be a BoolSetting, not a Setting
-rw-r--r--modules/github.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/github.py b/modules/github.py
index 633f1a0a..c2f13294 100644
--- a/modules/github.py
+++ b/modules/github.py
@@ -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"))