Explicit that 'requireCapability' can be empty

This commit is contained in:
Valentin Lorentz 2025-04-19 21:36:38 +02:00
parent df45a61f52
commit 64acad0d0b

View File

@ -66,6 +66,7 @@ conf.registerChannelValue(Channel, 'partMsg',
conf.registerGroup(Channel, 'invite')
conf.registerChannelValue(Channel.invite, 'requireCapability',
registry.String('op', _("""Determines what capability (if any) the bot should
require people trying to use the 'invite' command to have.""")))
require people trying to use the 'invite' command to have.
Leave empty to allow anyone to use it.""")))
# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79: