mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 19:52:54 +01:00
Oops, broke something, and didn't fix anything.
This commit is contained in:
parent
7dfdef787a
commit
30bedebba3
@ -63,10 +63,10 @@ class MiscCommands(callbacks.Privmsg):
|
|||||||
notCommands = []
|
notCommands = []
|
||||||
for command in callbacks.getCommands(tokens):
|
for command in callbacks.getCommands(tokens):
|
||||||
if not callbacks.findCallbackForCommand(irc, command):
|
if not callbacks.findCallbackForCommand(irc, command):
|
||||||
notCommands.append(command)
|
notCommands.append(repr(command))
|
||||||
if notCommands:
|
if notCommands:
|
||||||
if len(notCommands) == 1:
|
if len(notCommands) == 1:
|
||||||
s = '%r is not a command.' % notCommands[0]
|
s = '%s is not a command.' % notCommands[0]
|
||||||
else:
|
else:
|
||||||
s = '%s are not commands' % \
|
s = '%s are not commands' % \
|
||||||
utils.commaAndify(notCommands)
|
utils.commaAndify(notCommands)
|
||||||
|
Loading…
Reference in New Issue
Block a user