mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-16 18:50:13 +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
|
|
@ -35,7 +35,7 @@ namespace PluralKit.Bot
|
|||
else if (!ctx.HasNext())
|
||||
await ctx.Reply(embed: await CreateAutoproxyStatusEmbed(ctx));
|
||||
else
|
||||
throw new PKSyntaxError($"Invalid autoproxy mode `{ctx.PopArgument().EscapeMarkdown()}`.");
|
||||
throw new PKSyntaxError($"Invalid autoproxy mode {ctx.PopArgument().AsCode()}.");
|
||||
}
|
||||
|
||||
private async Task AutoproxyOff(Context ctx)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue