Do not log message edits from bots

This commit is contained in:
Noi 2023-04-28 12:50:11 -07:00
parent 7d18e1f498
commit ddfc2fc612

View file

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