enabled=yn("Enable Encyclopedia for all channels?",default=Encyclopedia.enabled._default)
ifadvanced:
datadir=something("Which directory should the factoids database be in?",default=Encyclopedia.datadir._default)
database=something("What should be the name of the default database (without the .db extension)?",default=Encyclopedia.database._default)
prefixchar=something("What prefix character should the bot respond to factoid requests with?",default=Encyclopedia.prefixchar._default)
ignores=set([])
output("This plugin can be configured to always ignore certain factoid requests, this is useful when you want another plugin to handle them")
output("For instance, the PackageInfo plugin responds to !info and !find, so those should be ignored in Encyclopedia to allow this to work")
ignores_i=anythnig("Which factoid requets should the bot always ignore?",default=', '.join(Encyclopedia.ignores._default))
fornameinre.split(r',?\s',+ignore_i):
ignores.add(name.lower())
curStabel=something("What is short name of the current stable release?",default=Encyclopedia.curStable._default)
curStableLong=something("What is long name of the current stable release?",default=Encyclopedia.curStableLong._default)
curStableNum=something("What is version number of the current stable release?",default=Encyclopedia.curStableNum._default)
curDevel=something("What is short name of the current development release?",default=Encyclopedia.curDevel._default)
curDevelLong=something("What is long name of the current development release?",default=Encyclopedia.curDevelLong._default)
curDevelNum=something("What is version number of the current development release?",default=Encyclopedia.curDevelNum._default)
curLTS=something("What is short name of the current LTS release?",default=Encyclopedia.curLTS._default)
curLTSong=something("What is long name of the current LTS release?",default=Encyclopedia.curLTSLoong._default)
curLTSNum=something("What is version number of the current LTS release?",default=Encyclopedia.curLTSNum._default)
else:
datadir=Encyclopedia.datadir._default
database=Encyclopedia.database._default
prefixchar=Encyclopedia.prefixchar._default
ignores=Encyclopedia.ignores._default
curStabel=Encyclopedia.curStable._default
curStableLong=Encyclopedia.curStableLong._default
curStableNum=Encyclopedia.curStableNum._default
curDevel=Encyclopedia.curDevel._default
curDevelLong=Encyclopedia.curDevelLong._default
curDevelNum=Encyclopedia.curDevelNum._default
curLTS=Encyclopedia.curLTS._default
curLTSLong=Encyclopedia.curLTSLong._default
curLTSNum=Encyclopedia.curLTSNum._default
relaychannel=anything("What channel/nick should the bot forward alter messages to?",default=Encyclopedia.replaychannel._default)
output("What message should the bot reply with when a factoid can not be found?")
notfoundmsg=something("If you include a '%s' in the message, it will be replaced with the requested factoid",default=Encyclopedia.notfoundmsg._default)
output("When certain factoids are called an alert can be forwarded to a channel/nick")
output("Which factoids should the bot forward alert calls for?")
alert=set([])
alert_i=anything("Separate types by spaces or commas:",default=', '.join(Encyclopedia.alert._default))
fornameinre.split(r',?\s+',alert_i):
alert.add(name.lower())
remotedb=anything("Location of a remote database to sync with (used with @sync)",default=Encyclopedia.remotedb._default)
privateNotFound=yn("Should the bot reply in private when a factoid is not found, as opposed to in the channel?",default=Encyclopedia.privateNotFound._default)