cedws / discord-delete

Tool to delete Discord message history
GNU General Public License v3.0
125 stars 18 forks source link

Ban mitigations #33

Open cedws opened 3 years ago

cedws commented 3 years ago

Following on from discussions in a related project, I am investigating how bans for self-botting could be mitigated. For now, I have implemented UA and super properties spoofing to make the program look more like the official client - I'm waiting to see if this will work.

I suspect that the way Discord's heuristics works is that users with a high number of transactions are subject to special logic which scrutinises requests and checks whether they look like they are coming from the official client.

cedws commented 3 years ago

I am thinking of running some A/B tests with a large number of testing accounts to try and find the ban criteria. Can probably be done on AWS Lambda.

git-bruh commented 3 years ago

FWIW My account didn't get banned, but restricted behind the phone verification crap recently, I just ran a full deletion and immediately left a guild after that. Can't seem to use this method to get restricted reliably though, maybe it was just a coincidence :/

SwampyApple commented 3 years ago

Any new insights on this issue?

cedws commented 3 years ago

Nope, but I haven't seen any more bans since introduction of some spoofing.

fosspill commented 3 years ago

I'll say that I've been running this script pretty hardcore recently, while also using the desktop client and phone client and I haven't faced any issues (yet)

emmggi commented 2 years ago

@cedws @fosspill have you been using it recently? Were you banned?

cedws commented 2 years ago

Nothing since, but the rate limits are heavier.

emmggi commented 2 years ago

Can you tell me what parameters i need to set not to go over those limits? @cedws

cedws commented 2 years ago

You don't need to do anything. The program will sleep for as long as the server asks.