Cloudflare Under Attack Mode
If the Revolt instance is being protected by Cloudflare captcha you can use this method to spoof the user-agent and completed captcha cookies to use the API on your own network.
Open up a browser page for https://app.revolt.chat
Complete the cloudflare captcha
Open up the browser dev tools Firefox - Ctrl + Shift + i
Go to the storage tab and copy the cf_clearance value
Add the clearance value to the client config option (excluding cf_clearance=)
Go to the network tab and select a app.revolt.chat request
On the right sidebar copy the User-Agent value
Add the User-Agent value to the client config
Start the client and it should connect fine
Note: The CFClearance value is tied to the User-Agent and your network IP If you are hosting a bot on a VPS server you will need to use an SSH network tunnel to complete the Cloudflare captcha on that network https://www.ocf.berkeley.edu/~xuanluo/sshproxywin.html
Last updated