mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Made the ambiguous error message when multiple commands are ambiguous a little prettier.
This commit is contained in:
parent
3c4a53c42c
commit
d472938bae
@ -95,8 +95,8 @@ class Misc(callbacks.Privmsg):
|
||||
L = []
|
||||
while ambiguousCommands:
|
||||
(command, cbs) = ambiguousCommands.popitem()
|
||||
L.append('%r is available in the %s plugins' % \
|
||||
(command, utils.commaAndify(cbs)))
|
||||
L.append('The command %r is available in the %s '
|
||||
'plugins' % (command, utils.commaAndify(cbs)))
|
||||
s = '%s; please specify from which plugins to ' \
|
||||
'call these commands.' % '; '.join(L)
|
||||
irc.queueMsg(callbacks.reply(msg, 'Error: ' + s))
|
||||
|
Loading…
Reference in New Issue
Block a user