dolfies / discord.py-self

A fork of the popular discord.py for user accounts.
https://discordpy-self.rtfd.io/en/latest/
MIT License
684 stars 162 forks source link

Joining produces bans #125

Closed sla-te closed 2 years ago

sla-te commented 2 years ago

Summary

While discord.py-self is running if you join tokens to guilds, it will cause bans. Not every token but a lot of them.

Reproduction Steps

Turn off guild subscriptions completely and await client.start() with around 500 tokens, I would really suggest to use at least one separate proxy each 2-3 bots.

Now either use the join() method or a browser to join these 500 tokens to a couple different guilds, use delays between each join and do not run it concurrently.

You will notice that you get a high amount of bans no matter if you use the join() method or a browser to join servers.

Code

No response

Expected Results

The tokens do not get banned - at least if a browser is being used to join them manually while discord.py-self is running.

Actual Results

A high percentage of the tokens, that are currently online with discord.py-self are getting banned.

System Information

Checklist

Additional Information

I would be willing to provide you working and verified tokens for testing this. Share me a throwaway Discord and I will contact you there.

dolfies commented 2 years ago

Interesting. I've never had an account banned for joining a guild using the library.
This happens only if a selfbot is currently running, or if it has ever been run on the account?

The library attempts to mimic the client (with headers, payloads, etc.).
The only thing I can think of off the top of my head (if guild_subscription_options=GuildSubscriptionOptions.off() is being used), is the fact that the library uses v6/7 of the API (this is changing in the 2.0 migration).

You can contact me at this alt: <redacted>.

1337Syntax commented 2 years ago

are the tokens fully verified? (phone & email), i noticed that if you join servers with either unverified accounts or accounts that are not phone verified discord may lock or even ban them for the spam/selfbot reason (using this lib or even manually on browser). But if the tokens are phone verified you shouldnt get locked/banned.