diff --git a/captcha/core.py b/captcha/core.py index 2f95dd3f..7dcea988 100644 --- a/captcha/core.py +++ b/captcha/core.py @@ -136,9 +136,9 @@ async def on_member_join(self, member: discord.Member) -> None: return if ( not member.guild.me.guild_permissions.kick_members - or member.guild.me.guild_permissions.manage_roles - or member.guild.me.guild_permissions.embed_links - or member.guild.me.guild_permissions.attach_files + or not member.guild.me.guild_permissions.manage_roles + or not member.guild.me.guild_permissions.embed_links + or not member.guild.me.guild_permissions.attach_files ): await self.config.guild(member.guild).toggle.set(False) log.info(f"Disabled captcha verification due to missing permissions.")