Comments (8)
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.
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.
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.
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.
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.
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.
Its working now, Thanks a million! Yay
from dishorde.
Great! Glad to hear you got it working.
from dishorde.
Related Issues (20)
- REQ - Use nicknames rather than Discord base names when sending messages to game HOT 2
- Config option allow-multiple-instances does not block extra instances of the bot
- "Server connection: undefined"
- Dishorde 2.0.0 echoing weird stuff in its console HOT 2
- message style HOT 1
- Bot ignoring HOT 2
- Time and Version not working. HOT 2
- INFO command posting empty string
- new command HOT 1
- Docker image HOT 1
- Check for message content intent and warn if disabled HOT 1
- X HOT 1
- Update Module Please HOT 4
- Duplicated messages HOT 4
- Server Connection shows "connecting..." but never connects.
- Why do these messages appear?
- Duplicated chat messages in discord when players chat in game HOT 1
- 7D2D v1.0 release - in game chat not showing in discord HOT 3
- When I do ./run.sh error shows up.
- Color msg in discord
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dishorde.