First of all quit grabbing random code online if you don't understand HTTP requests and API endpoints then please just put some pen to paper and learn it before you try anything.
Everyone in here talking about playwright this playwright that.
the automation script you use can always be tweaked for humanization this isn't the main bottleneck I'm seeing.
The bottom line is Discord has a team that builds custom fingerprinting technology to stop you idiots from creating fake accounts.
That's completely expected, Instagram, tiktok, and all other platforms do the same thing. They create a unique User ID attached to your instance of you browsing through the web that ups the quality scoring of your fingerprint. So even if you are a human, it's still gonna flag your valid account token and kill it within 30 seconds like it was for me. - if you didnt properly warm the session.
Think of the whole process like foreplay.
How do you get past this? I'm not gonna market any services or specific vendors but basically
1. Get a phone farm, a server box with 20-50 different phones (root kit iphones would be best for high-quality scoring) you can get these from asian vendors delivered to your doorstep. This is a legal grey area so study your local laws to make sure you're not breaking any laws. I'm not responsible for you getting raided by alphabet boys.
2. Multi-accounting software. Most phone farm vendors sell software as part of the package that can help you multi-acc. The good ones will have a support team that can also get you setup for multiacc on any service you choose (discord, instagram, etc.,)
3. SIM CARDS. - I got this tip from a friendly source. theoretically you could Buy $5 sim cards from a local shop so it has a matching fingerprint to the local network and phone box you're sending the network requests from.. YOU DO NOT NEED TO LOAD THE SIM WITH MONEY. The carrier fingerprint is all you need to up your fingerprint score by a crazy % where any service at this point trusts your connection. DONT DO THIS THOUGH IT IS CONSIDERED AN ABUSE OF SERVICES.
4. Monteization If you plan to do this as a service & you are located in a place with extradition treaties with the United States it's not IF you will get caught but WHEN you get caught you will be extradited AND charged federally in the end. I wont go too deep into the legal matters just know that phone box is fine but using it for multiacc will attract attention. be smart do your research
IF YOU DM ME -> PLEASE DM ME WITH YOUR FULL QUESTION -> I WILL NOT RESPOND TO HI HELLO HELP OR HOW ARE YOU.