瀏覽代碼

debugging

BaumSplitter41 1 周之前
父節點
當前提交
3b7fb2089d
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      VPD_BOT/cogs/reaction_roles.py

+ 2 - 0
VPD_BOT/cogs/reaction_roles.py

@@ -157,6 +157,8 @@ class reactionroles(commands.Cog):
                 except Exception as e:
                     print(f"Failed to add role {roles[i].name} to user {member.name}: {e}")
                     break
+            else:
+                print(f"Emoji {payload.emoji} does not match {emojis[i]} for role {roles[i].name}.")
 
 
     #Remove role from user