Closed Velka-DEV closed 2 years ago
Fetch_invite / join_guild not working as normal
Using these functions result in being blocked by cloudflare for too many requests and as well server never joined.
Tried with and without fetching invite instance before joining, tried with invite Id without URL. Both don't work
from discord.ext import tasks import discord class MyClient(discord.Client): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) async def on_ready(self): print('Logged in as') print(self.user.name) print(self.user.id) print('------') invite = await self.fetch_invite("https://discord.com/invite/BVCz8udSaM", with_counts=False, with_expiration=False) await self.join_guild(invite) client = MyClient() client.run('token')
Fetched invite & server correctly joined
Cloudflare blocked (429) Too many requests
No response
Summary
Fetch_invite / join_guild not working as normal
Reproduction Steps
Using these functions result in being blocked by cloudflare for too many requests and as well server never joined.
Tried with and without fetching invite instance before joining, tried with invite Id without URL. Both don't work
Code
Expected Results
Fetched invite & server correctly joined
Actual Results
Cloudflare blocked (429) Too many requests
System Information
Checklist
Additional Information
No response