feat(bot): show ids in plaintext embeds

This commit is contained in:
Petal Ladenson 2024-11-07 19:01:47 -07:00 committed by GitHub
parent 46bc920234
commit 50943e6322
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 12 deletions

View file

@ -55,7 +55,7 @@ public class SystemEdit
if (format == ReplyFormat.Plaintext)
{
var eb = new EmbedBuilder()
.Description($"Showing name for system {target.DisplayHid()}");
.Description($"Showing name for system `{target.DisplayHid(ctx.Config)}`");
await ctx.Reply(target.Name, embed: eb.Build());
return;
}
@ -120,7 +120,7 @@ public class SystemEdit
if (format == ReplyFormat.Plaintext)
{
var eb = new EmbedBuilder()
.Description($"Showing servername for system {target.DisplayHid()}");
.Description($"Showing servername for system `{target.DisplayHid(ctx.Config)}`");
await ctx.Reply(settings.DisplayName, embed: eb.Build());
return;
}
@ -183,7 +183,7 @@ public class SystemEdit
if (format == ReplyFormat.Plaintext)
{
var eb = new EmbedBuilder()
.Description($"Showing description for system {target.DisplayHid()}");
.Description($"Showing description for system `{target.DisplayHid(ctx.Config)}`");
await ctx.Reply(target.Description, embed: eb.Build());
return;
}
@ -299,7 +299,7 @@ public class SystemEdit
if (format == ReplyFormat.Plaintext)
{
var eb = new EmbedBuilder()
.Description($"Showing tag for system {target.DisplayHid()}");
.Description($"Showing tag for system `{target.DisplayHid(ctx.Config)}`");
await ctx.Reply(target.Tag, embed: eb.Build());
return;
}
@ -354,7 +354,7 @@ public class SystemEdit
if (format == ReplyFormat.Plaintext)
{
var eb = new EmbedBuilder()
.Description($"Showing servertag for system {target.DisplayHid()}");
.Description($"Showing servertag for system `{target.DisplayHid(ctx.Config)}`");
await ctx.Reply(settings.Tag, embed: eb.Build());
return;
}
@ -489,7 +489,7 @@ public class SystemEdit
if (format == ReplyFormat.Plaintext)
{
var eb = new EmbedBuilder()
.Description($"Showing pronouns for system {target.DisplayHid()}");
.Description($"Showing pronouns for system `{target.DisplayHid(ctx.Config)}`");
await ctx.Reply(target.Pronouns, embed: eb.Build());
return;
}