Debugging
[supybot-shipping.git] / config.py
blob794b92aaadf40a9613f61c30601925223ad60b13
1 ###
2 # supybot-shipping - A Supybot plugin to track shipments
3 # Copyright (C) 2008 Ian Weller <ianweller@gmail.com>
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License along
16 # with this program; if not, write to the Free Software Foundation, Inc.,
17 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 ###
20 import supybot.conf as conf
21 import supybot.registry as registry
23 def configure(advanced):
24 # This will be called by supybot to configure this module. advanced is
25 # a bool that specifies whether the user identified himself as an advanced
26 # user or not. You should effect your configuration by manipulating the
27 # registry as appropriate.
28 from supybot.questions import expect, anything, something, yn
29 conf.registerPlugin('Shipping', True)
32 Shipping = conf.registerPlugin('Shipping')
33 # This is where your configuration variables (if any) should go. For example:
34 # conf.registerGlobalValue(Shipping, 'someConfigVariableName',
35 # registry.Boolean(False, """Help for someConfigVariableName."""))
38 # vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: