Giter VIP home page Giter VIP logo

Comments (8)

LakeYS avatar LakeYS commented on September 2, 2024

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.

from dishorde.

DeXGaming avatar DeXGaming commented on September 2, 2024

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.

from dishorde.

LakeYS avatar LakeYS commented on September 2, 2024

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.

from dishorde.

DeXGaming avatar DeXGaming commented on September 2, 2024

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 :)

from dishorde.

LakeYS avatar LakeYS commented on September 2, 2024

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.

from dishorde.

DeXGaming avatar DeXGaming commented on September 2, 2024

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

from dishorde.

DeXGaming avatar DeXGaming commented on September 2, 2024

Its working now, Thanks a million! Yay

from dishorde.

LakeYS avatar LakeYS commented on September 2, 2024

Great! Glad to hear you got it working.

from dishorde.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.