mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-26 04:51:09 -05:00
git-subtree-dir: Fun git-subtree-mainline: 2f4f636369fae0d68e4dfe7b843d1d2fb048dab7 git-subtree-split: 13f801e3c428fa61c780106d02c8dd7c1e348e79
44 lines
1005 B
Python
44 lines
1005 B
Python
###
|
|
# Copyright (c) 2019 oddluck
|
|
# All rights reserved.
|
|
#
|
|
#
|
|
###
|
|
|
|
"""
|
|
Fun: Uses API to retrieve information
|
|
"""
|
|
|
|
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__ = ''
|
|
|
|
from . import config
|
|
from . import plugin
|
|
from imp import reload
|
|
# In case we're being reloaded.
|
|
reload(config)
|
|
reload(plugin)
|
|
# 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:
|
|
from . import test
|
|
|
|
Class = plugin.Class
|
|
configure = config.configure
|
|
|