35 lines
844 B
Python
35 lines
844 B
Python
|
|
"""
|
|
Run Derplang programs
|
|
"""
|
|
|
|
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__ = ""
|
|
|
|
__author__ = supybot.Author("Owen", "ShadowNinja", "shadowninja@minetest.net")
|
|
|
|
# This is a dictionary mapping supybot.Author instances to lists of
|
|
# contributions.
|
|
__contributors__ = {}
|
|
|
|
from . import config
|
|
from . import plugin
|
|
from imp import reload
|
|
reload(plugin) # In case we're being reloaded.
|
|
reload(config)
|
|
# 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!
|
|
from . import derplang
|
|
reload(derplang)
|
|
|
|
if world.testing:
|
|
from . import test
|
|
|
|
Class = plugin.Class
|
|
configure = config.configure
|
|
|