From 9914f2d28e24344d0f51164879a5f442c5def227 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 30 Sep 2004 14:59:09 +0000 Subject: [PATCH] Augmented to better document the sigils. --- docs/CONFIGURATION | 4 +++- src/Config.py | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/CONFIGURATION b/docs/CONFIGURATION index e61716729..4437f594b 100644 --- a/docs/CONFIGURATION +++ b/docs/CONFIGURATION @@ -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! diff --git a/src/Config.py b/src/Config.py index 84695b10d..6dc5b92b7 100644 --- a/src/Config.py +++ b/src/Config.py @@ -134,7 +134,10 @@ class Config(callbacks.Privmsg): """ Returns the configuration variables available under the given - configuration . Subgroups are indicated by a preceding @. + configuration . 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)