From 7df1881fcb1a08a543ee56f01b82aadc1b196609 Mon Sep 17 00:00:00 2001 From: Proochles <93429064+Proochles@users.noreply.github.com> Date: Thu, 4 Aug 2022 02:24:55 -0500 Subject: [PATCH] Attempted fix for /stats user formatting --- bot/command/impl/statistics/statsuser.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bot/command/impl/statistics/statsuser.go b/bot/command/impl/statistics/statsuser.go index 83137f6a..12d22312 100644 --- a/bot/command/impl/statistics/statsuser.go +++ b/bot/command/impl/statistics/statsuser.go @@ -211,12 +211,10 @@ func (StatsUserCommand) Execute(ctx registry.CommandContext, userId uint64) { msgEmbed := embed.NewEmbed(). SetTitle("Statistics"). - SetColor(ctx.GetColour(customisation.Green)). - SetAuthor(member.User.Username, "", member.User.AvatarUrl(256)). AddField("Permission Level", permissionLevel, true). AddField("Feedback Rating", fmt.Sprintf("%.1f / 5 ⭐", feedbackRating), true). - AddField("Feedback Count", fmt.Sprintf("%d", feedbackCount), true). AddBlankField(true). + AddField("Feedback Count", fmt.Sprintf("%d", feedbackCount), true). AddField("Average First Response Time (Weekly)", formatNullableTime(weeklyAR), true). AddField("Average First Response Time (Monthly)", formatNullableTime(monthlyAR), true). AddField("Average First Response Time (Total)", formatNullableTime(totalAR), true).