ubuntu-bots/Mess/config.py

17 lines
719 B
Python
Raw Normal View History

2006-06-26 17:57:20 +00:00
import supybot.conf as conf
import supybot.registry as registry
def configure(advanced):
from supybot.questions import expect, anything, something, yn
conf.registerPlugin('Mess', True)
Mess = conf.registerPlugin('Mess')
conf.registerChannelValue(conf.supybot.plugins.Mess, 'enabled',
2006-10-19 14:39:11 +00:00
registry.Boolean(False,"""Enable the non-offensive mess that ubugtu can spit out in the
2006-06-26 17:57:20 +00:00
channel"""))
conf.registerChannelValue(conf.supybot.plugins.Mess, 'offensive',
2006-10-19 14:39:11 +00:00
registry.Boolean(False,"""Enable all possibly offensive mess that the bot can spit out in the
2006-06-26 17:57:20 +00:00
channel"""))
conf.registerChannelValue(conf.supybot.plugins.Mess, 'delay',
registry.Integer(10,""" Minimum number of seconds between mess """))