mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +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 = []
|
||||
for command in callbacks.getCommands(tokens):
|
||||
if not callbacks.findCallbackForCommand(irc, command):
|
||||
notCommands.append(command)
|
||||
notCommands.append(repr(command))
|
||||
if notCommands:
|
||||
if len(notCommands) == 1:
|
||||
s = '%r is not a command.' % notCommands[0]
|
||||
s = '%s is not a command.' % notCommands[0]
|
||||
else:
|
||||
s = '%s are not commands' % \
|
||||
utils.commaAndify(notCommands)
|
||||
|
Loading…
Reference in New Issue
Block a user