From 89785c955df20fb4cf9e62612ec80116b04be9d2 Mon Sep 17 00:00:00 2001 From: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Thu, 12 Nov 2020 12:55:24 -0800 Subject: [PATCH] Update chatchart.py --- chatchart/chatchart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatchart/chatchart.py b/chatchart/chatchart.py index dd2d3df..f70a9be 100644 --- a/chatchart/chatchart.py +++ b/chatchart/chatchart.py @@ -146,7 +146,7 @@ class Chatchart(commands.Cog): if len(msg.author.display_name) >= 20: short_name = "{}...".format(msg.author.display_name[:20]).replace("$", "\\$") else: - short_name = msg.author.display_name.replace("$", "\\$") + short_name = msg.author.display_name.replace("$", "\\$").replace("_", "\\_ ").replace("*", "\\*") whole_name = "{}#{}".format(short_name, msg.author.discriminator) if msg.author.bot: pass