fix: apply requested changes

This commit is contained in:
Jake Fulmine
2022-08-27 15:15:14 +02:00
parent cd14e6409b
commit 67d5118c9c
5 changed files with 14 additions and 8 deletions

View File

@@ -159,7 +159,8 @@ public class Groups
+ $"To clear it, type `pk;group {reference} displayname -clear`."
+ $"To print the raw display name, type `pk;group {reference} displayname -raw`.");
eb.Footer(new Embed.EmbedFooter($"Using {target.DisplayName.Length}/{Limits.MaxGroupNameLength} characters."));
if (ctx.System?.Id == target.System)
eb.Footer(new Embed.EmbedFooter($"Using {target.DisplayName.Length}/{Limits.MaxGroupNameLength} characters."));
await ctx.Reply(embed: eb.Build());
}
@@ -579,7 +580,7 @@ public class Groups
public async Task DisplayId(Context ctx, PKGroup target)
{
await ctx.Reply($"{target.Hid}");
await ctx.Reply(target.Hid);
}
private async Task<PKSystem> GetGroupSystem(Context ctx, PKGroup target)