Expand a little on the supybot.defaultIgnore help. Also, went ahead and

changed the timestampformat from a GlobalValue to ChannelValue like the XXX
told me to.
This commit is contained in:
James Vega 2004-11-11 14:40:04 +00:00
parent ea8bf1f479
commit 4ce65826a1
1 changed files with 3 additions and 4 deletions

View File

@ -882,11 +882,10 @@ registerGlobalValue(supybot.protocols.http, 'proxy',
registerGlobalValue(supybot, 'defaultIgnore', registerGlobalValue(supybot, 'defaultIgnore',
registry.Boolean(False, """Determines whether the bot will ignore registry.Boolean(False, """Determines whether the bot will ignore
unregistered users by default. Of course, that'll make it particularly unregistered users by default. Of course, that'll make it particularly
hard for those users to register with the bot, but that's your problem to hard for those users to register or identify with the bot, but that's your
solve.""")) problem to solve."""))
# XXX There's no reason this can't be channel-specific. registerChannelValue(supybot, 'humanTimestampFormat',
registerGlobalValue(supybot, 'humanTimestampFormat',
registry.String('%I:%M %p, %B %d, %Y', """Determines how timestamps printed registry.String('%I:%M %p, %B %d, %Y', """Determines how timestamps printed
for human reading should be formatted. Refer to the Python documentation for human reading should be formatted. Refer to the Python documentation
for the time module to see valid formatting characters for time for the time module to see valid formatting characters for time