added mute reason in the logs
This commit is contained in:
parent
a1bf03ad40
commit
4d3bdc2481
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue