From 4d3bdc24816b6fb904fabb20aea461de146500dc Mon Sep 17 00:00:00 2001
From: Toastie <toastie@toastiet0ast.com>
Date: Sun, 23 Mar 2025 14:27:53 +1300
Subject: [PATCH] added mute reason in the logs

---
 .../Administration/ServerLog/ServerLogCommandService.cs        | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/EllieBot/Modules/Administration/ServerLog/ServerLogCommandService.cs b/src/EllieBot/Modules/Administration/ServerLog/ServerLogCommandService.cs
index 3b6cd3e..cb8fb15 100644
--- a/src/EllieBot/Modules/Administration/ServerLog/ServerLogCommandService.cs
+++ b/src/EllieBot/Modules/Administration/ServerLog/ServerLogCommandService.cs
@@ -494,6 +494,9 @@ public sealed class LogCommandService : ILogCommandService, IReadyExecutor
                     .WithFooter(CurrentTime(usr.Guild))
                     .WithOkColor();
 
+                if (!string.IsNullOrWhiteSpace(reason))
+                    embed.WithDescription(reason);
+
                 await _sender.Response(logChannel).Embed(embed).SendAsync();
             }
             catch