Encyclopedia: Drop private responses off settings.

Since there is nothing really sensitive about them anyway,
and it helps configuring multiple bot instances at once.
This commit is contained in:
Krytarik Raido 2022-10-12 23:56:04 +02:00
parent f2ea4477c0
commit 8d2bb1f371
2 changed files with 5 additions and 5 deletions

View File

@ -24,7 +24,7 @@ import supybot
import supybot.world as world
from importlib import reload
__version__ = "4.3.0"
__version__ = "4.4.0"
__author__ = supybot.Author("Krytarik Raido", "krytarik", "krytarik@gmail.com")
__contributors__ = {
supybot.Author("Dennis Kaarsemaker", "Seveas", "dennis@kaarsemaker.net"): ['Original Author'],

View File

@ -196,16 +196,16 @@ conf.registerChannelValue(Encyclopedia,'prefixchar',
registry.String('!', 'Character the bot will respond to factoid requests with'))
conf.registerGlobalValue(Encyclopedia, 'datadir',
conf.Directory(conf.supybot.directories.data(), 'Directory containing factoid databases', private=True))
conf.Directory(conf.supybot.directories.data(), 'Directory containing factoid databases'))
conf.registerChannelValue(Encyclopedia, 'alert',
registry.SpaceSeparatedListOfStrings(['ops', 'op', 'kops', 'calltheops'], 'Factoid names used for alerts', private=True))
registry.SpaceSeparatedListOfStrings(['ops', 'op', 'kops', 'calltheops'], 'Factoid names used for alerts'))
conf.registerChannelValue(Encyclopedia, 'remotedb',
registry.String('https://ubottu.com/ubuntu.db', 'Remote location of the master database', private=True))
registry.String('https://ubottu.com/ubuntu.db', 'Remote location of the master database'))
conf.registerChannelValue(Encyclopedia, 'ignores',
registry.SpaceSeparatedListOfStrings(['info', 'depends', 'find', 'more'], 'Factoid names to ignore', private=True))
registry.SpaceSeparatedListOfStrings(['info', 'depends', 'find', 'more'], 'Factoid names to ignore'))
conf.registerChannelValue(Encyclopedia, 'repeatdelay',
registry.Integer(60, "Number of seconds to wait between repeated factoid calls"))