diff options
author | kongr45gpen <kongr45gpen@helit.org> | 2013-07-23 18:53:20 +0300 |
---|---|---|
committer | kongr45gpen <kongr45gpen@helit.org> | 2013-07-23 18:53:20 +0300 |
commit | 17396f73a99a717f896fc3609de5529b120af97f (patch) | |
tree | 72bf007de6993992623365202e6fd8183f4a2f2a /config.py | |
download | supybot_github-17396f73a99a717f896fc3609de5529b120af97f.tar.gz supybot_github-17396f73a99a717f896fc3609de5529b120af97f.tar.bz2 supybot_github-17396f73a99a717f896fc3609de5529b120af97f.zip |
Initial commit
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/config.py b/config.py new file mode 100644 index 0000000..956651f --- /dev/null +++ b/config.py @@ -0,0 +1,21 @@ +### + +import supybot.conf as conf +import supybot.registry as registry + +def configure(advanced): + # This will be called by supybot to configure this module. advanced is + # a bool that specifies whether the user identified himself as an advanced + # user or not. You should effect your configuration by manipulating the + # registry as appropriate. + from supybot.questions import expect, anything, something, yn + conf.registerPlugin('Github', True) + + +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.""")) + + +# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: |