ubuntu-bots/Encyclopedia/__init__.py

44 lines
1.1 KiB
Python
Raw Normal View History

2006-06-26 17:57:20 +00:00
###
2007-02-04 17:35:40 +00:00
# Copyright (c) 2006-2007 Dennis Kaarsemaker
2006-06-26 17:57:20 +00:00
#
2007-02-04 17:35:40 +00:00
# This program is free software; you can redistribute it and/or modify
# it under the terms of version 2 of the GNU General Public License as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
2006-06-26 17:57:20 +00:00
#
###
"""
2007-02-04 17:35:40 +00:00
This plugin is a factoid encyclopedia and has Ubuntu/Debian package&file lookup
funtionality
2006-06-26 17:57:20 +00:00
"""
import supybot
import supybot.world as world
2007-10-02 21:06:14 +00:00
__version__ = "2.2"
2007-02-04 17:35:40 +00:00
__author__ = supybot.Author("Dennis Kaarsemaker","Seveas","dennis@kaarsemaker.net")
__contributors__ = {supybot.Author("Terence Simpson", "stdin", "stdin@stdin.me.uk"): ['sync']}
2007-02-04 17:35:40 +00:00
__url__ = 'https://bots.ubuntulinux.nl'
2006-06-26 17:57:20 +00:00
import config
reload(config)
2007-02-04 17:35:40 +00:00
import plugin
reload(plugin)
2006-06-26 17:57:20 +00:00
if world.testing:
import test
2007-02-04 17:35:40 +00:00
Class = plugin.Class
2006-06-26 17:57:20 +00:00
configure = config.configure
def reloadPlugin():
reload(config)
reload(plugin)
Class = plugin.Class
configure = config.configure