Leaderboard needs to handle underscores
andersthemagi opened this issue · comments
Describe the bug
When displaying the leaderboard using !lb, italics mess up the formatting slightly.
Steps To Reproduce
- !lb in chat
Expected behavior
An underscore in a name on the leaderboard should not affect the formatting.
Screenshots
Additional context
May need to look into other formatting changes that might screw up the leaderboard.
Probably can just do something akin to this using .replace()
https://stackoverflow.com/questions/35827838/how-to-show-underscores-symbol-in-markdown
Using several instances of backslashes like in markdown / discord to avoid the italicization didn't work.
What did work was changing from a md
code block to a asciidoc
code block. About the same formatting and ignores the underscores and other special characters.