2006-06-26 17:57:20 +00:00
|
|
|
###
|
|
|
|
# Copyright (c) 2006, Dennis Kaarsemaker
|
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
###
|
|
|
|
|
|
|
|
"""
|
|
|
|
Add a description of the plugin (to be presented to the user inside the wizard)
|
|
|
|
here. This should describe *what* the plugin does.
|
|
|
|
"""
|
|
|
|
|
|
|
|
import supybot
|
|
|
|
import supybot.world as world
|
|
|
|
|
|
|
|
# Use this for the version of this plugin. You may wish to put a CVS keyword
|
|
|
|
# in here if you're keeping the plugin in CVS or some similar system.
|
|
|
|
__version__ = ""
|
|
|
|
|
|
|
|
# XXX Replace this with an appropriate author or supybot.Author instance.
|
|
|
|
__author__ = supybot.authors.unknown
|
|
|
|
|
|
|
|
# This is a dictionary mapping supybot.Author instances to lists of
|
|
|
|
# contributions.
|
|
|
|
__contributors__ = {}
|
|
|
|
|
|
|
|
# This is a url where the most recent plugin package can be downloaded.
|
|
|
|
__url__ = '' # 'http://supybot.com/Members/yourname/Factoid plugin/download'
|
|
|
|
|
|
|
|
import config
|
|
|
|
import plugin
|
|
|
|
reload(plugin) # In case we're being reloaded.
|
2006-08-18 23:22:54 +00:00
|
|
|
import plugin_ng
|
|
|
|
reload(plugin_ng)
|
2006-06-26 17:57:20 +00:00
|
|
|
# Add more reloads here if you add third-party modules and want them to be
|
|
|
|
# reloaded when this plugin is reloaded. Don't forget to import them as well!
|
|
|
|
|
|
|
|
if world.testing:
|
|
|
|
import test
|
|
|
|
|
|
|
|
Class = plugin.Class
|
2006-08-18 23:22:54 +00:00
|
|
|
Class = plugin_ng.Class
|
2006-06-26 17:57:20 +00:00
|
|
|
configure = config.configure
|
|
|
|
|
|
|
|
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79:
|