mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Slightly changed the error message to make it sound better.
This commit is contained in:
parent
7d3d501073
commit
3c4a53c42c
@ -86,7 +86,7 @@ class Misc(callbacks.Privmsg):
|
|||||||
if ambiguousCommands:
|
if ambiguousCommands:
|
||||||
if len(ambiguousCommands) == 1: # Common case.
|
if len(ambiguousCommands) == 1: # Common case.
|
||||||
(command, cbs) = ambiguousCommands.popitem()
|
(command, cbs) = ambiguousCommands.popitem()
|
||||||
s = 'The command %r is available in the plugins %s. '\
|
s = 'The command %r is available in the %s plugins. '\
|
||||||
'Please specify the plugin whose command you ' \
|
'Please specify the plugin whose command you ' \
|
||||||
'wish to call by using its name as a command ' \
|
'wish to call by using its name as a command ' \
|
||||||
'before %r' % \
|
'before %r' % \
|
||||||
@ -95,7 +95,7 @@ class Misc(callbacks.Privmsg):
|
|||||||
L = []
|
L = []
|
||||||
while ambiguousCommands:
|
while ambiguousCommands:
|
||||||
(command, cbs) = ambiguousCommands.popitem()
|
(command, cbs) = ambiguousCommands.popitem()
|
||||||
L.append('%r is available in the plugins %s' % \
|
L.append('%r is available in the %s plugins' % \
|
||||||
(command, utils.commaAndify(cbs)))
|
(command, utils.commaAndify(cbs)))
|
||||||
s = '%s; please specify from which plugins to ' \
|
s = '%s; please specify from which plugins to ' \
|
||||||
'call these commands.' % '; '.join(L)
|
'call these commands.' % '; '.join(L)
|
||||||
|
Loading…
Reference in New Issue
Block a user