From 5e2343f717d9f78bd57930ccd73491d79a0b39d7 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Fri, 8 Nov 2019 20:53:04 +0100 Subject: [PATCH] Update doc of capabilities.default to mention 'channel capability setdefault'. --- src/ircdb.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ircdb.py b/src/ircdb.py index 2ddf055ce..773caf565 100644 --- a/src/ircdb.py +++ b/src/ircdb.py @@ -1197,7 +1197,9 @@ conf.registerGlobalValue(conf.supybot.capabilities, 'registeredUsers', conf.registerGlobalValue(conf.supybot.capabilities, 'default', registry.Boolean(True, """Determines whether the bot by default will allow users to have a capability. If this is disabled, a user must explicitly - have the capability for whatever command they wish to run.""")) + have the capability for whatever command they wish to run. + To set this in a channel-specific way, use the 'channel capability + setdefault' command.""")) conf.registerGlobalValue(conf.supybot.capabilities, 'private', registry.SpaceSeparatedListOfStrings([], """Determines what capabilities the bot will never tell to a non-admin whether or not a user has them."""))