Augmented to better document the sigils.

This commit is contained in:
Jeremy Fincher 2004-09-30 14:59:09 +00:00
parent 567cd195d3
commit 9914f2d28e
2 changed files with 7 additions and 2 deletions

View File

@ -166,7 +166,9 @@ specific channel, do this in that channel:
config channel supybot.reply.whenAddressedBy.chars !
That'll set the prefix chars in the channel that message is sent in to
!. Voila, channel-specific values!
!. Voila, channel-specific values! Also, note that when using the
Config plugin's list command, channel-specific values are preceded by
a '#' character to indicate such.
Anyway, that's about it for configuration. Have fun, and enjoy your
configurable bot!

View File

@ -134,7 +134,10 @@ class Config(callbacks.Privmsg):
"""<group>
Returns the configuration variables available under the given
configuration <group>. Subgroups are indicated by a preceding @.
configuration <group>. If a variable has values under it, it is
preceded by an '@' sign. If a variable is a 'ChannelValue', that is,
it can be separately configured for each channel using the 'channel'
command in this plugin, it is preceded by an '#' sign.
"""
name = privmsgs.getArgs(args)
L = self._list(name)