Update doc of capabilities.default to mention 'channel capability setdefault'.

This commit is contained in:
Valentin Lorentz 2019-11-08 20:53:04 +01:00
parent 04b55805b8
commit 5e2343f717
1 changed files with 3 additions and 1 deletions

View File

@ -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."""))