mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Replace most "code-escaped" literals with properly-escaping helpers
This commit is contained in:
parent
6e88739424
commit
203dbc65a1
11 changed files with 50 additions and 36 deletions
|
|
@ -124,7 +124,7 @@ namespace PluralKit.Bot
|
|||
try
|
||||
{
|
||||
await guildUser.SendMessageFixedAsync($"{Emojis.Error} {msg.Member.DisplayName()}'s system has disabled reaction pings. If you want to mention them anyway, you can copy/paste the following message:");
|
||||
await guildUser.SendMessageFixedAsync($"`<@{msg.Message.Sender}>`");
|
||||
await guildUser.SendMessageFixedAsync($"<@{msg.Message.Sender}>".AsCode());
|
||||
}
|
||||
catch (UnauthorizedException) { }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue