From 17396f73a99a717f896fc3609de5529b120af97f Mon Sep 17 00:00:00 2001 From: kongr45gpen Date: Tue, 23 Jul 2013 18:53:20 +0300 Subject: Initial commit --- config.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 config.py (limited to 'config.py') 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: -- cgit v1.2.3