Browse Source

fixing wrong msg edit log

BaumSplitter41 2 tuần trước cách đây
mục cha
commit
fd92abc45f
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      VPD_BOT/cogs/logs.py

+ 2 - 0
VPD_BOT/cogs/logs.py

@@ -79,6 +79,8 @@ class actionlog(commands.Cog):
             return
         if before.author.bot:
             return
+        if before.content == after.content:
+            return
         else:
             embed = discord.Embed(
                 title="Message Edited",