mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-10 07:47:53 +00:00
feat(bot): show ids in plaintext embeds
This commit is contained in:
parent
46bc920234
commit
50943e6322
3 changed files with 12 additions and 12 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue