Skip to content

accept invite not working #845

@diegoacs0

Description

@diegoacs0

Summary

always asking for captcha since yesterday, i've tested 3 different ips and computers and assured that discord is working normally on them.

Reproduction Steps

400 Bad Request (error code: -1): Captcha required; Also, i'm using actual master version.

Code

async def join_guild(self, invite_url: str) -> Optional[discord.Guild]:
        """Entrar no servidor"""
        try:
            # Limpar URL se necessário
            if invite_url.startswith('http'):
                invite_code = invite_url.split('/')[-1]
            else:
                invite_code = invite_url
                
            invite = await self.client.fetch_invite(invite_code)
            guild = invite.guild
            await invite.accept()

Expected Results

join guild

Actual Results

400 Bad Request (error code: -1): Captcha required; Also, i'm using actual master version.

System Information

null

Checklist

  • I have confirmed I am using unmodified discord.py-self and not the upstream discord.py.
  • I am using a user token (and it isn't visible in the code).
  • I have searched the open issues for duplicates.
  • I have searched closed issues for resolved duplicates.
  • I have confirmed the development version doesn't resolve the issue.
  • I have shared the entire traceback.

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions