aboutsummaryrefslogtreecommitdiffstats
path: root/config.py
diff options
context:
space:
mode:
authorkongr45gpen <kongr45gpen@helit.org>2013-07-24 18:57:12 +0300
committerkongr45gpen <kongr45gpen@helit.org>2013-07-24 18:57:12 +0300
commit01d5c3b6e4f8fee5f72749d0586eb433c21e9bb7 (patch)
tree629fa21f763c886bd033d199918059713859813d /config.py
parent346c5f5400c610d06f6d4ff28b4474046c94525b (diff)
downloadsupybot_github-01d5c3b6e4f8fee5f72749d0586eb433c21e9bb7.tar.gz
supybot_github-01d5c3b6e4f8fee5f72749d0586eb433c21e9bb7.tar.bz2
supybot_github-01d5c3b6e4f8fee5f72749d0586eb433c21e9bb7.zip
Add a 'channel' configuration variable
Diffstat (limited to 'config.py')
-rw-r--r--config.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.py b/config.py
index 956651f..ab7b71c 100644
--- a/config.py
+++ b/config.py
@@ -16,6 +16,8 @@ Github = conf.registerPlugin('Github')
# This is where your configuration variables (if any) should go. For example:
# conf.registerGlobalValue(Github, 'someConfigVariableName',
# registry.Boolean(False, """Help for someConfigVariableName."""))
-
+conf.registerGlobalValue(Github, 'channel',
+ registry.String('#commits', """Determines the channel where commit
+ notifications will go by default."""))
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79:

© 2014-2024 Faster IT GmbH | imprint | privacy policy