mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-27 21:22:39 +01:00
Oops, forgot to commit this with the Note commits.
This commit is contained in:
parent
b1db39971d
commit
87d8d60e2e
@ -426,8 +426,9 @@ class RichReplyMethods(object):
|
||||
v = conf.supybot.replies.notRegistered.get(self.msg.args[0])()
|
||||
self.error(self.__makeReply(v, s), **kwargs)
|
||||
|
||||
def errorNoUser(self, s='', **kwargs):
|
||||
def errorNoUser(self, s='', name='that user', **kwargs):
|
||||
v = conf.supybot.replies.noUser.get(self.msg.args[0])()
|
||||
v = v % name
|
||||
self.error(self.__makeReply(v, s), **kwargs)
|
||||
|
||||
def errorRequiresPrivacy(self, s='', **kwargs):
|
||||
|
@ -396,7 +396,7 @@ registerChannelValue(supybot.replies, 'incorrectAuthentication',
|
||||
and neither credential is correct."""))
|
||||
|
||||
registerChannelValue(supybot.replies, 'noUser',
|
||||
registry.NormalizedString("""I can't find that user in my user
|
||||
registry.NormalizedString("""I can't find %s in my user
|
||||
database. If you didn't give a user name, then I might not know what your
|
||||
user is, and you'll need to identify before this command might work.""",
|
||||
"""Determines what error message the bot replies with when someone tries
|
||||
|
Loading…
Reference in New Issue
Block a user