Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Banned after one DM (401 Unauthorized) #103

Open
and0 opened this issue Apr 11, 2021 · 10 comments
Open

Banned after one DM (401 Unauthorized) #103

and0 opened this issue Apr 11, 2021 · 10 comments
Labels
bug Something isn't working

Comments

@and0
Copy link

and0 commented Apr 11, 2021

Bot joins server fine but as soon as DM text spam is launched bot gets banned after just one successful message. The message is randomized and is single line and contains no emojis.

Steps to reproduce the behavior:

  1. Configure tokens.txt with one token
  2. Launch join server (works)
  3. Launch DM Text Spam
  • OS: OSX
  • Python 3.7
Started Text DM Spam
80xxxxxxxxx546
 [+] (<discum.messages.messages.Messages->createDM) Post -> https://discord.com/api/v8/users/@me/channels

 [+] (<discum.messages.messages.Messages->createDM) {'recipients': ['80xxxxxxxxx546']}

 [+] (<discum.messages.messages.Messages->createDM) Response <- {"message": "Cannot send messages to this user", "code": 50007}

Something went wrong (;3;) relaunching...
161xxxxxxxxxxxx09
 [+] (<discum.messages.messages.Messages->createDM) Post -> https://discord.com/api/v8/users/@me/channels

 [+] (<discum.messages.messages.Messages->createDM) {'recipients': ['161xxxxxxxxxxxx09']}

 [+] (<discum.messages.messages.Messages->createDM) Response <- {"id": "83xxxxxxxxxxx33", "type": 1, "last_message_id": null, "recipients": [{"id": "161859548540305409", "username": "xxxxxx", "avatar": "aeaxxxxxxxxxxxxxxxc12e", "discriminator": "3780", "public_flags": 0}]}

 [+] (<discum.messages.messages.Messages->sendMessage) Post -> https://discord.com/api/v8/channels/83xxxxxxxxxxx33/messages

 [+] (<discum.messages.messages.Messages->sendMessage) {'content': '<3<3 Hello this is a test <3 ~<3~^_ ^', 'tts': False, 'nonce': '830xxxxxxxxxx000'}

 [+] (<discum.messages.messages.Messages->sendMessage) Response <- {"id": "830xxxxxxxxx1504", "type": 0, "content": "<3<3 Hello this is a test <3 ~<3~^_ ^", "channel_id": "83xxxxxxxxx9233", "author": {"id": "805918878466965546", "username": "xxxxxxxx", "avatar": "aaf8xxxxxxxxxxxx7015", "discriminator": "5418", "public_flags": 0}, "attachments": [], "embeds": [], "mentions": [], "mention_roles": [], "pinned": false, "mention_everyone": false, "tts": false, "timestamp": "2021-04-11T05:37:58.715000+00:00", "edited_timestamp": null, "flags": 0, "nonce": "830xxxxxxxxx8000", "referenced_message": null}

Sent message to 1618xxxxxxxxxx409
Complete!
30xxxxxxxxxx11947
 [+] (<discum.messages.messages.Messages->createDM) Post -> https://discord.com/api/v8/users/@me/channels

 [+] (<discum.messages.messages.Messages->createDM) {'recipients': ['300xxxxxxxxx47']}

 [+] (<discum.messages.messages.Messages->createDM) Response <- {"message": "401: Unauthorized", "code": 0}

Something went wrong (;3;) relaunching...
@and0
Copy link
Author

and0 commented Apr 11, 2021

Update: When making my own account I am able to get a few messages before being met with this phone verification response.

{'message': 'You need to verify your account in order to perform this action.', 'code': 40002}

@and0
Copy link
Author

and0 commented Apr 11, 2021

Something about the process of createDM & sendMessage is getting flagged and I'm not sure what it is.. I've made sure to take all the precautionary measures such as using a different text string each time and also not being logged in to this account in another location as you've mentioned as well as using ample (30s) delay between each messages

@and0 and0 changed the title Bot banned after one DM (401 Unauthorized) Banned after one DM (401 Unauthorized) Apr 11, 2021
@lowlypalace
Copy link

Same here, tried accounts with the verified phone number too. Using private proxies.

@Merubokkusu
Copy link
Owner

Can confirm that createDM is the cause of the ban, going to test some stuff out later today. A delay might fix it

@Merubokkusu Merubokkusu added the bug Something isn't working label Apr 21, 2021
@lowlypalace
Copy link

lowlypalace commented Apr 21, 2021

Can confirm that createDM is the cause of the ban, going to test some stuff out later today. A delay might fix it

Cool, I also tried with 60 seconds delay but it still causes a ban.

@lowlypalace
Copy link

Any updates on this one? I also sent you a Twitter DM with some bugs I found @Merubokkusu

@anhvietgod
Copy link

Had the same problem! The bot seemed to work properly but got banned after 3 DMs, I tried to set the delay to 100 and used edge but still got a ban. I don't know if discord updated their algorithm or what else. I'm waiting for someone to fix it, willing to donate!

@ghost
Copy link

ghost commented May 15, 2021

Same here, only tried to join my server and..
image
BOOM.
image
Error 403 - forbidden.

@anhvietgod
Copy link

Same here, only tried to join my server and..
image
BOOM.
image
Error 403 - forbidden.

Yeah I found another solution. Xyliase tool is the best solution for this. You must pay for it, but I think it's worth

@ghost
Copy link

ghost commented May 23, 2021

Okay guys, i've found a workaround. Sadly, it's not avaible for python. You can use node.js. Libraries such as discord.js combined with puppeteer for auto-joining server and auto-account creator, and discord.js for spamming the channels will work great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants