Encyclopedia: Minor improvements to config.py
This commit is contained in:
@ -24,7 +24,7 @@ import supybot
|
||||
import supybot.world as world
|
||||
from importlib import reload
|
||||
|
||||
__version__ = "3.5.0"
|
||||
__version__ = "3.5.1"
|
||||
__author__ = supybot.Author("Krytarik Raido", "krytarik", "krytarik@gmail.com")
|
||||
__contributors__ = {
|
||||
supybot.Author("Dennis Kaarsemaker", "Seveas", "dennis@kaarsemaker.net"): ['Original Author'],
|
||||
|
@ -175,10 +175,10 @@ conf.registerGlobalValue(Encyclopedia, 'notfoundmsg',
|
||||
registry.String('Factoid %s not found', 'Reply when factoid is not found'))
|
||||
|
||||
conf.registerChannelValue(Encyclopedia,'prefixchar',
|
||||
registry.String('!','Prefix character for factoid display/editing'))
|
||||
registry.String('!', 'Character the bot will respond to factoid requests with'))
|
||||
|
||||
conf.registerGlobalValue(Encyclopedia, 'datadir',
|
||||
conf.Directory(conf.supybot.directories.data(), 'Path to dir containing factoid databases', private=True))
|
||||
conf.Directory(conf.supybot.directories.data(), 'Directory containing factoid databases', private=True))
|
||||
|
||||
conf.registerChannelValue(Encyclopedia, 'alert',
|
||||
registry.SpaceSeparatedListOfStrings(['ops', 'op', 'kops', 'calltheops'], 'Factoid names used for alerts', private=True))
|
||||
@ -190,10 +190,10 @@ conf.registerChannelValue(Encyclopedia, 'ignores',
|
||||
registry.SpaceSeparatedListOfStrings(['info', 'depends', 'find'], 'Factoid names to ignore', private=True))
|
||||
|
||||
conf.registerChannelValue(Encyclopedia, 'privateNotFound',
|
||||
registry.Boolean(False, "If set to True, send notfoundmsg in private rather than in the channel"))
|
||||
registry.Boolean(False, "Send notfoundmsg in private rather than in the channel"))
|
||||
|
||||
conf.registerChannelValue(Encyclopedia, 'forcedFactoid',
|
||||
registry.Boolean(False, "If set to True, factoids in kick reason will be sent to the user in private"))
|
||||
registry.Boolean(False, "Factoids in kick reason will be sent to the user in private"))
|
||||
|
||||
|
||||
conf.registerGlobalValue(Encyclopedia, 'curStable',
|
||||
|
Reference in New Issue
Block a user