fix: display correct color when looking up other systems' groups

This commit is contained in:
Spectralitree 2022-01-09 13:21:22 +01:00
parent 22feedd5dc
commit 93f1158d33

View File

@ -460,7 +460,7 @@ public class Groups
}
var title = system.Name != null ? $"Groups of {system.Name} (`{system.Hid}`)" : $"Groups of `{system.Hid}`";
await ctx.Paginate(groups.ToAsyncEnumerable(), groups.Count, 25, title, ctx.System.Color, Renderer);
await ctx.Paginate(groups.ToAsyncEnumerable(), groups.Count, 25, title, system.Color, Renderer);
Task Renderer(EmbedBuilder eb, IEnumerable<ListedGroup> page)
{