Skip to content

Troubleshooting & Bonus Info

Christopher Holland edited this page Jun 12, 2017 · 1 revision

How to literally shoot trouble

Rip, some issue happened during setup

Normally, you'd have to send me a Discord message for us to troubleshoot, but this is now Cah's Basic Guide To Shoot Trouble & Stuff

Chapter 1: Simple Mistakes and How to Fix Them


Section 1: Error 4004
This error usually means you inputted your token incorrectly, I've had a few people do the following

  1. Do configatron.token = '"mfa.woahdude"' in the config.rb (do one or the other, not both)
  2. Prefix their token with mfa. even though their token doesn't have that (yes, some people don't have a token prefixed with mfa., I was shocked too)
  3. More will be added as I get more Discord DMs with "bugs"

If it was working before and you made any sort of account change recently (turn 2FA on/off, change passwords, etc.), check and reinsert your new token

If you're positive you did everything right and are still getting a 4004, shoot me a Discord DM and we can troubleshoot together

Section 2: Not Responding
Uh oh, your selfbot isn't responding to anything?

Well, make sure that you put your User ID correctly into the config.rb (someone once thought that the user ID was their username#0000). Also make sure that nothing in the code is messing up the permission system

That's all the advice that I can offer as of now

Section 3: Improper Ping
"Spong! Hey, that took -124ms"

The bot went back in time to send the message, what? How?

Actually, this is 99% due to your computer/VPS clock being off I also heard this can be caused by some UTC timezone nonsense

That's all the advice that I can offer as of now

Section 4: Permissions, and the User Limitations
"The bot doesn't have the required permissions to do this!"

This either means that you legitimately don't have the permission to do that, or you're/the bot is trying to do something that the user endpoint doesn't have access to (i.e. trying to bulk delete messages or load a message by ID)

Keep in mind, users != bots

Chapter 2: Not Bad 👌


Section 1: libsodium
"libsodium not available!"
Congrats, you broke something

... Is what I would say if you actually did do such a thing

Unless you have plans to turn the selfbot into a portable music bot, this is irrelevant and you can safely discard this warning

Section 2: Console Spam
Tired of having your console spammed with permission denied stuff & messages about servers being unavailable every three seconds? You're in luck, if you just change the log mode to silent
okay
you'll be good to go

Do note, you will not receive anything in the console if you do this

To see all the available log modes here's a linky dink

And that's all the info I bothered to write in a single writing session, more will come soon as I get more info and as more people somehow mess up this supposed-to-be-simple process

Clone this wiki locally