ubuntu-bots/Encyclopedia/__init__.py

45 lines
1.3 KiB
Python
Raw Normal View History

# -*- Encoding: utf-8 -*-
2006-06-26 17:57:20 +00:00
###
2007-02-04 17:35:40 +00:00
# Copyright (c) 2006-2007 Dennis Kaarsemaker
# Copyright (c) 2008-2010 Terence Simpson
# Copyright (c) 2018- Krytarik Raido
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
#
###
"""
2009-11-26 16:39:34 +00:00
This plugin is a factoid encyclopedia. Ubuntu/Debian package and file lookup
funtionality has been moved to PackageInfo
2006-06-26 17:57:20 +00:00
"""
import supybot
import supybot.world as world
from importlib import reload
2006-06-26 17:57:20 +00:00
__version__ = "4.2.0"
__author__ = supybot.Author("Krytarik Raido", "krytarik", "krytarik@gmail.com")
__contributors__ = {
supybot.Author("Dennis Kaarsemaker", "Seveas", "dennis@kaarsemaker.net"): ['Original Author'],
supybot.Author("Terence Simpson", "tsimpson", "tsimpson@ubuntu.com"): ['Original Author']
}
__url__ = 'https://launchpad.net/ubuntu-bots'
2006-06-26 17:57:20 +00:00
2018-02-22 10:45:04 +00:00
from . import config
reload(config)
2018-02-22 10:45:04 +00:00
from . import plugin
2007-02-04 17:35:40 +00:00
reload(plugin)
2006-06-26 17:57:20 +00:00
if world.testing:
2018-02-22 10:45:04 +00:00
from . import test
2006-06-26 17:57:20 +00:00
2007-02-04 17:35:40 +00:00
Class = plugin.Class
2006-06-26 17:57:20 +00:00
configure = config.configure