aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cogs/logs.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/cogs/logs.py b/cogs/logs.py
index 8230ccc..c1b3a49 100644
--- a/cogs/logs.py
+++ b/cogs/logs.py
@@ -32,6 +32,9 @@ class Logs(commands.Cog):
@commands.Cog.listener()
async def on_message_edit(self, before, after):
+ if before.content == after.content:
+ return
+
if after.guild.id != 574267523869179904:
return
channel = self.bot.get_channel(int(self.bot.config[str(before.guild.id)]["logs_channel"]))