mirror of
https://github.com/progval/Limnoria.git
synced 2025-04-28 22:41:05 -05: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])()
|
v = conf.supybot.replies.notRegistered.get(self.msg.args[0])()
|
||||||
self.error(self.__makeReply(v, s), **kwargs)
|
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 = conf.supybot.replies.noUser.get(self.msg.args[0])()
|
||||||
|
v = v % name
|
||||||
self.error(self.__makeReply(v, s), **kwargs)
|
self.error(self.__makeReply(v, s), **kwargs)
|
||||||
|
|
||||||
def errorRequiresPrivacy(self, s='', **kwargs):
|
def errorRequiresPrivacy(self, s='', **kwargs):
|
||||||
|
@ -396,7 +396,7 @@ registerChannelValue(supybot.replies, 'incorrectAuthentication',
|
|||||||
and neither credential is correct."""))
|
and neither credential is correct."""))
|
||||||
|
|
||||||
registerChannelValue(supybot.replies, 'noUser',
|
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
|
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.""",
|
user is, and you'll need to identify before this command might work.""",
|
||||||
"""Determines what error message the bot replies with when someone tries
|
"""Determines what error message the bot replies with when someone tries
|
||||||
|
Loading…
x
Reference in New Issue
Block a user