mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Allow the empty string for supybot.brackets, so users can turn off command nesting.
This commit is contained in:
parent
7bee8831a8
commit
e2de2784bc
@ -220,7 +220,7 @@ nested commands. If this option is enabled users can nest commands using a
|
|||||||
bracket syntax, for example: 'bot: bar [foo]'."""))
|
bracket syntax, for example: 'bot: bar [foo]'."""))
|
||||||
|
|
||||||
class ValidBrackets(registry.OnlySomeStrings):
|
class ValidBrackets(registry.OnlySomeStrings):
|
||||||
validStrings = ('[]', '<>', '{}', '()')
|
validStrings = ('', '[]', '<>', '{}', '()')
|
||||||
|
|
||||||
supybot.register('brackets', ValidBrackets('[]', """Supybot allows you to
|
supybot.register('brackets', ValidBrackets('[]', """Supybot allows you to
|
||||||
specify what brackets are used for your nested commands. Valid sets of
|
specify what brackets are used for your nested commands. Valid sets of
|
||||||
|
Loading…
Reference in New Issue
Block a user