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))
|
.WithFooter(CurrentTime(usr.Guild))
|
||||||
.WithOkColor();
|
.WithOkColor();
|
||||||
|
|
||||||
|
if (!string.IsNullOrWhiteSpace(reason))
|
||||||
|
embed.WithDescription(reason);
|
||||||
|
|
||||||
await _sender.Response(logChannel).Embed(embed).SendAsync();
|
await _sender.Response(logChannel).Embed(embed).SendAsync();
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue