Replace most "code-escaped" literals with properly-escaping helpers
This commit is contained in:
@@ -190,7 +190,7 @@ namespace PluralKit.Bot
|
||||
return ctx.Execute<Member>(MemberRandom, m => m.MemberRandom(ctx));
|
||||
|
||||
ctx.Reply(
|
||||
$"{Emojis.Error} Unknown command `{ctx.PeekArgument()}`. For a list of possible commands, see <https://pluralkit.me/commands>.");
|
||||
$"{Emojis.Error} Unknown command {ctx.PeekArgument().AsCode()}. For a list of possible commands, see <https://pluralkit.me/commands>.");
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
||||
@@ -442,7 +442,7 @@ namespace PluralKit.Bot
|
||||
return $"Account with ID `{id}` not found.";
|
||||
}
|
||||
|
||||
return $"System with ID `{input}` not found.";
|
||||
return $"System with ID {input.AsCode()} not found.";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user