fix(bot): remove extra spaces in raw system fields

This commit is contained in:
Petal Ladenson 2024-11-07 19:02:57 -07:00 committed by GitHub
parent c5613f1969
commit 0c802ab0bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,7 +49,7 @@ public class SystemEdit
if (format == ReplyFormat.Raw)
{
await ctx.Reply($"` ``\n{target.Name}\n` ``");
await ctx.Reply($"```\n{target.Name}\n```");
return;
}
if (format == ReplyFormat.Plaintext)
@ -114,7 +114,7 @@ public class SystemEdit
if (format == ReplyFormat.Raw)
{
await ctx.Reply($"` ``\n{settings.DisplayName}\n` ``");
await ctx.Reply($"```\n{settings.DisplayName}\n```");
return;
}
if (format == ReplyFormat.Plaintext)
@ -177,7 +177,7 @@ public class SystemEdit
if (format == ReplyFormat.Raw)
{
await ctx.Reply($"` ``\n{target.Description}\n` ``");
await ctx.Reply($"```\n{target.Description}\n```");
return;
}
if (format == ReplyFormat.Plaintext)