Browse Source

fixing error

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

+ 1 - 1
VPD_BOT/cogs/reaction_roles.py

@@ -188,7 +188,7 @@ class reactionroles(commands.Cog):
                     await payload.member.remove_reaction(remove_reaction, message_id)
                     break
                 except Exception as e:
-                    print(f"Failed to remove role {role.name} from user {user.name}.")
+                    print(f"Failed to remove role {role.name} from user {user.name}: {e}")
                     break