added mute reason in the logs

This commit is contained in:
Toastie 2025-03-23 14:27:53 +13:00
parent a1bf03ad40
commit 4d3bdc2481
Signed by: toastie_t0ast
GPG key ID: 0861BE54AD481DC7

View file

@ -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