mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-29 18:49:53 +03:00
Change audit output if a message was deleted because of '!clear' (#34)
This commit is contained in:
parent
b0fd49fea2
commit
02949656bf
5 changed files with 21 additions and 3 deletions
|
@ -23,7 +23,7 @@ public sealed class ClearCommand : ICommand {
|
|||
foreach (var msg in msgArray.Where(m => !m.Author.IsBot))
|
||||
cmd.Audit(
|
||||
string.Format(
|
||||
Messages.CachedMessageDeleted, msg.Author.Mention,
|
||||
Messages.CachedMessageCleared, msg.Author.Mention,
|
||||
Utils.MentionChannel(channel.Id),
|
||||
Utils.Wrap(msg.CleanContent)), false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue