diff --git a/chatchart/chatchart.py b/chatchart/chatchart.py index a150e72..1f8fb47 100644 --- a/chatchart/chatchart.py +++ b/chatchart/chatchart.py @@ -71,9 +71,9 @@ class ChatChart: for msg in history: if len(msg.author.name) >= 20: - short_name = '{}...'.format(msg.author.name[:20]) + short_name = '{}...'.format(msg.author.name[:20]).replace("$", "\$") else: - short_name = msg.author.name + short_name = msg.author.name.replace("$", "\$") whole_name = '{}#{}'.format(short_name, msg.author.discriminator) if msg.author.bot: pass