Better error message.

This commit is contained in:
Jeremy Fincher 2005-01-05 21:38:36 +00:00
parent d85e56f1d2
commit 3337d813cd

View File

@ -436,7 +436,9 @@ class Misc(callbacks.Privmsg):
utils.nItems('message', len(L), 'more') utils.nItems('message', len(L), 'more')
irc.reply(chunk, True) irc.reply(chunk, True)
except KeyError: except KeyError:
irc.error('You haven\'t asked me a command!') irc.error('You haven\'t asked me a command; perhaps you want '
'to see someone else\'s more. To do so, call this '
'command with that person\'s nick.')
except IndexError: except IndexError:
irc.error('That\'s all, there is no more.') irc.error('That\'s all, there is no more.')
more = wrap(more, [additional('seenNick')]) more = wrap(more, [additional('seenNick')])