Fix missing newlines in display name commands' help/preview (#489)

Includes...
- `pk;group aaaaa displayname`
- `pk;member aaaaa displayname`
This commit is contained in:
KJP12 2022-11-03 19:08:42 -05:00 committed by GitHub
parent 9160e58c0c
commit fa625612ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -155,8 +155,8 @@ public class Groups
if (ctx.System?.Id == target.System) if (ctx.System?.Id == target.System)
eb.Description( eb.Description(
$"To change display name, type `pk;group {reference} displayname <display name>`." $"To change display name, type `pk;group {reference} displayname <display name>`.\n"
+ $"To clear it, type `pk;group {reference} displayname -clear`." + $"To clear it, type `pk;group {reference} displayname -clear`.\n"
+ $"To print the raw display name, type `pk;group {reference} displayname -raw`."); + $"To print the raw display name, type `pk;group {reference} displayname -raw`.");
if (ctx.System?.Id == target.System) if (ctx.System?.Id == target.System)

View File

@ -399,8 +399,8 @@ public class MemberEdit
var reference = target.Reference(ctx); var reference = target.Reference(ctx);
if (ctx.System?.Id == target.System) if (ctx.System?.Id == target.System)
eb.Description( eb.Description(
$"To change display name, type `pk;member {reference} displayname <display name>`." $"To change display name, type `pk;member {reference} displayname <display name>`.\n"
+ $"To clear it, type `pk;member {reference} displayname -clear`." + $"To clear it, type `pk;member {reference} displayname -clear`.\n"
+ $"To print the raw display name, type `pk;member {reference} displayname -raw`."); + $"To print the raw display name, type `pk;member {reference} displayname -raw`.");
await ctx.Reply(embed: eb.Build()); await ctx.Reply(embed: eb.Build());
return; return;