fixed id issue
[miniqdb-supybot.git] / __init__.py
blobd02c0f7b5c9143bab17f6a0bc5489e04e01a8bf8
1 ###
2 # miniqdb - A minimalistic quote database
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 """
21 This plugin provides a frontend to the API interface of miniqdb 1.0b3 and
22 later. See miniqdb.googlecode.com for more information.
23 """
25 import supybot
26 import supybot.world as world
28 # Use this for the version of this plugin. You may wish to put a CVS keyword
29 # in here if you're keeping the plugin in CVS or some similar system.
30 __version__ = ""
32 # XXX Replace this with an appropriate author or supybot.Author instance.
33 __author__ = supybot.Author('Ian Weller', 'ianweller', 'ianweller@gmail.com')
35 # This is a dictionary mapping supybot.Author instances to lists of
36 # contributions.
37 __contributors__ = {}
39 # This is a url where the most recent plugin package can be downloaded.
40 __url__ = 'http://miniqdb.googlecode.com/' # 'http://supybot.com/Members/yourname/Miniqdb/download'
42 import config
43 import plugin
44 reload(plugin) # In case we're being reloaded.
45 # Add more reloads here if you add third-party modules and want them to be
46 # reloaded when this plugin is reloaded. Don't forget to import them as well!
48 if world.testing:
49 import test
51 Class = plugin.Class
52 configure = config.configure
55 # vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: