2019-12-06 03:46:14 +00:00

23 lines
731 B
Python

###
# by SpiderDave
###
import supybot.conf as conf
import supybot.registry as registry
import os
#The plugin name will be based on the plugin's folder.
PluginName=os.path.dirname( __file__ ).split(os.sep)[-1]
def configure(advanced):
# This will be called by supybot to configure this module. advanced is
# a bool that specifies whether the user identified himself as an advanced
# user or not. You should effect your configuration by manipulating the
# registry as appropriate.
from supybot.questions import expect, anything, something, yn
conf.registerPlugin(PluginName, True)
P = conf.registerPlugin(PluginName)
P.__name__ = PluginName
# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79: