Do not log message edits from bots
This commit is contained in:
parent
7d18e1f498
commit
ddfc2fc612
1 changed files with 1 additions and 0 deletions
|
@ -77,6 +77,7 @@ internal partial class ModLogs {
|
|||
Log(channel.Guild, "Message edited in the reporting channel. Suppressing report.");
|
||||
return;
|
||||
}
|
||||
if (newMsg.Author.IsBot) return; // Do not report bot edits
|
||||
|
||||
var reportEmbed = new EmbedBuilder()
|
||||
.WithColor(new Color(0xffff00)) // yellow
|
||||
|
|
Loading…
Reference in a new issue