Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Escape Markdown characters in relay messages #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zzufx
Copy link
Member

@zzufx zzufx commented Mar 24, 2024

Two or more underscores on a player's name could make their name appear incorrectly in anticheat relay messages, as it could make parts of their name italic

(for instance, currently if someone called _applenick_ triggers an anticheat alert it appears as applenick on Discord)

Also escapes asterisks, which would behave in a similar way if a player had a lot of ranks that used * as suffixes/prefixes

Tested on a local server with bot setup.

@zzufx zzufx changed the title Replace underscores in relay messages Escape underscores in relay messages Mar 24, 2024
@zzufx zzufx changed the title Escape underscores in relay messages Escape Markdown characters in relay messages Mar 27, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant