|
@ -345,7 +345,7 @@ class HelpCommand: |
|
|
# for this common use case rather than waste performance for the |
|
|
# for this common use case rather than waste performance for the |
|
|
# odd one. |
|
|
# odd one. |
|
|
pattern = re.compile(r"<@!?%s>" % user.id) |
|
|
pattern = re.compile(r"<@!?%s>" % user.id) |
|
|
return pattern.sub("@%s" % user.display_name, self.context.prefix) |
|
|
return pattern.sub("@%s" % user.display_name.replace('\\', r'\\'), self.context.prefix) |
|
|
|
|
|
|
|
|
@property |
|
|
@property |
|
|
def invoked_with(self): |
|
|
def invoked_with(self): |
|
|