From 20b27a824fa736e34825e2acd04f31df23da4a8d Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Wed, 9 Dec 2020 02:12:50 -0600 Subject: [PATCH] Fix username changed log embed --- Floofbot/Services/EventLoggerService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Floofbot/Services/EventLoggerService.cs b/Floofbot/Services/EventLoggerService.cs index 2c84ae85..aecc8a79 100644 --- a/Floofbot/Services/EventLoggerService.cs +++ b/Floofbot/Services/EventLoggerService.cs @@ -497,7 +497,7 @@ public Task UserUpdated(SocketUser before, SocketUser userAfter) embed.WithTitle($"👥 Username Changed | {after.Username}#{after.Discriminator}") .WithColor(Color.Purple) .WithDescription($"{after.Mention} | ``{after.Id}``") - .AddField("Old Username", after.Username, true) + .AddField("Old Username", before.Username, true) .AddField("New Name", after.Username, true) .WithFooter($"user_username_change user_namelog {after.Id}") .WithCurrentTimestamp();