diff --git a/discord/ext/commands/help.py b/discord/ext/commands/help.py index 72992de9e..226e5f6a5 100644 --- a/discord/ext/commands/help.py +++ b/discord/ext/commands/help.py @@ -345,7 +345,7 @@ class HelpCommand: # for this common use case rather than waste performance for the # odd one. 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 def invoked_with(self):