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

UNKNOWN_ERROR #28

Closed
DeXGaming opened this issue Aug 1, 2017 · 8 comments
Closed

UNKNOWN_ERROR #28

DeXGaming opened this issue Aug 1, 2017 · 8 comments

Comments

@DeXGaming
Copy link

Hi There,

I put the bot on my Discord server, couldnt get it to work, removed it and tried to re-create it and re add it but now i get an error every time i put in my Client ID. I have cleared my internet History and cache but still no luck, Please Help

Thanks in advance

@LakeYS
Copy link
Owner

LakeYS commented Aug 1, 2017

Hi. Can you double-check that you've clicked the "Create a bot user" button? Make sure you can see a username and "Token: click to reveal" somewhere under the client ID on the application page.

@DeXGaming
Copy link
Author

Thanks a Million that sorted it out. The bot is on my Discord Server but when I run it, it says "Discord client disconnected with reason: Authentication failed. (4004). Attempting to reconnect in 6s...."
I do rent my 7DTD with BluefangSolutions.

@LakeYS
Copy link
Owner

LakeYS commented Aug 1, 2017

No problem!

For the authentication error, make sure you've entered the token correctly in config.json. It shows up when you click the "click to reveal" link that I mentioned before. It should look like a long string of letters and numbers.

Since you're using BlueFang Solutions, you'll probably also need to put your server's external IP address in place of "localhost" in the config file.

@DeXGaming
Copy link
Author

DeXGaming commented Aug 1, 2017

I have used my servers IP address, Telnet port and telnet password. I did use the token generated, I even tried generating a new secret token and tried it just incase but no luck.

sorry to bother you but im new to this bot stuff :)

@LakeYS
Copy link
Owner

LakeYS commented Aug 1, 2017

No worries, setting up bots like this can be confusing.

The code '4004' means that the token entered does not appear to match any existing ones. Does anything else show up aside from the "Authentication failed" error?

Something to try: Make sure you're using the bot user's token and not the "client secret". It's easy to mix the two up.

@DeXGaming
Copy link
Author

DeXGaming commented Aug 2, 2017

I got it online, but under the bot on discord its says "Playing No Connection" then after a few seconds it goes offline again.

@DeXGaming
Copy link
Author

Its working now, Thanks a million! Yay

@LakeYS
Copy link
Owner

LakeYS commented Aug 2, 2017

Great! Glad to hear you got it working.

@LakeYS LakeYS closed this as completed Aug 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants