mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-05-02 00:11:06 -05:00
59 lines
1.7 KiB
Python
59 lines
1.7 KiB
Python
###
|
|
# Copyright (c) 2019, James Lu <james@overdrivenetworks.com>
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License, or (at
|
|
# your option) any later version.
|
|
#
|
|
# 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.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
|
# USA.
|
|
###
|
|
|
|
"""
|
|
Qalculate! plugin for Limnoria
|
|
"""
|
|
|
|
import sys
|
|
import supybot
|
|
from supybot import world
|
|
|
|
# Use this for the version of this plugin.
|
|
__version__ = "2020.01.05+git"
|
|
|
|
__author__ = getattr(supybot.authors, 'jlu',
|
|
supybot.Author('James Lu', 'GLolol', 'james@overdrivenetworks.com'))
|
|
|
|
# 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 importlib 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
|
|
|
|
|
|
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79:
|