Skip to content

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant