Open sudo001 opened 1 year ago
Discord utilizes TLS fingerprinting as part of anti-spam now. Pure Python doesn't really provide a way to mimic a browser TLS fingerprint. The TLS fingerprints of Python libraries like requests
and aiohttp
are fairly flagged due to the amount of spam originating from them. I'll try to influence the fingerprint slightly, but I'm eventually going to have to redo how requests work entirely to overcome this.
You could use python-tls-client, i also made a binary for arm32 in my fork if that helps.
You could use python-tls-client, i also made a binary for arm32 in my fork if that helps.
Thanks for the comment! I've been looking at fhttp
and similar, but I'm unsure what the performance concerns would be like when using them in an async library.
More importantly, none of the projects I've looked at seem to support WebSockets, which is crucial for Discord.
library.
Just found a package called CycleTLS on PyPi maybe take a look at that (its even asyncronous). Also it would be fantastic in you could take a look at my issue.
More importantly, none of the projects I've looked at seem to support WebSockets, which is crucial for Discord.
its pretty unlikely discord looks at bot score for gateway connections surely? i mean its not a sustainable approach, but definitely a start.
its pretty unlikely discord looks at bot score for gateway connections surely? i mean its not a sustainable approach, but definitely a start.
It's not done by Discord, it's done by Cloudflare, and they do look at gateway traffic.
Progress on this is being made on the refactor/tls branch. Right now, the blocker is WS support, which seems to already be an issue in curl_cffi.
its pretty unlikely discord looks at bot score for gateway connections surely? i mean its not a sustainable approach, but definitely a start.
It's not done by Discord, it's done by Cloudflare, and they do look at gateway traffic.
i just think it's unlikely discord actually looks at the bot score for the gateway endpoint, sure it's possible, and cloudflare probably do give it a score, but just unlikely in my opinion.
its pretty unlikely discord looks at bot score for gateway connections surely? i mean its not a sustainable approach, but definitely a start.
It's not done by Discord, it's done by Cloudflare, and they do look at gateway traffic.
i just think it's unlikely discord actually looks at the bot score for the gateway endpoint, sure it's possible, and cloudflare probably do give it a score, but just unlikely in my opinion.
They don't look at it as much, but it is for sure looked at. If you're not worried about gateway traffic, you can use the aforementioned branch (though it is a tiny bit unstable).
Summary
await bot.create_guild(name=...) returns
403 Forbidden (error code: 10008): Unknown Message
Reproduction Steps
⠀
Code
Expected Results
Create guild.
Actual Results
403 Forbidden (error code: 10008): Unknown Message
incidentSystem Information
Checklist
Additional Information
⠀