Browse Source

debugging

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

+ 2 - 0
VPD_BOT/cogs/reaction_roles.py

@@ -203,6 +203,8 @@ class reactionroles(commands.Cog):
                 except Exception as e:
                     print(f"Failed to remove role {role.name} from user {user.name}: {e}")
                     break
+            else:
+                print(f"Emoji {payload.emoji} does not match {emoji} for role {role.name}.")
         
         
 def setup(bot: discord.Bot):