Bot not starting invalid token
Yesterday, I coded a bot and got it running. I tried adding it to Ghostbot to test something, but it didn’t work. This morning, I removed it from Ghostbot, but after hosting it with MongoDB, the bot went down.
61 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!the error says the problem
I can't understand the issue i did everything correct
you've provided an invalid token
you can try logging it before calling .login() to see if it's what you expect
The token i gave was correct
not according to your error
How?
how which part?
I want to know what's the problem.
well this is the problem
I added the bot to ghostbot and removed it does that effect the bot?
you mean botghost? this?
I provided the full information
djs doesn't read any config.json files
you have to code that
Yes, I added the bot after i started it using mongo.
Yesterday i started that my self but my stupid mind went and added the bot on ghost bot then removed the bot which made the bot going down and giving me errors
well it's hard to provide support with code you haven't even written yourself, since we expect some level of familiarization with javascript at the very least
sounds like your client id and your token don't match
Does this server has a devtool including a way to start the bot as well explaintion?
wdym?
your error is on your token
apparently you aren't reading it correctly from your config
or your config itself is wrong
token is not id
mhm,'
Ik
yet it says 1
go to discord.dev and get a new one
Surely
@pat @Amgelo
apparently you've previously deployed a command of type 4, somehow, since it isn't supported by djs
you cannot delete it via a bulk update, it has to deleted manually via a single DELETE call
or I think you can also disable Activities through the dev dashboard
All activities?
That's what i made using ghostbot
do you want to create activities?
Such as?
uh, discord's
I want to get this bot online.
can i invite you for somthing?
no
just ask here
:dogeHaHa:
well I've provided two options you can follow
okay now what shall i do to get this bot online?
ok
Considering you use botghost, do you have any Javascript experience at all
im building a discord bot not a activeites.
Holy,,,,, I dont use ghostbot.
well you've deployed an activity entry point command, my two options are to delete that command
i used a package and hosted the bot then i was wondering if i could use both the studio and ghostbot i went and took the bot token and placed that on ghostbot after testing i deleted the bot from botghost i have 2 month of experience with java
well java isnt Javascript
May i know how to do that
which?
java - js - javascript call it what ever you want 😭
deleting the activity
I've told you
you cannot delete it via a bulk update, it has to deleted manually via a single DELETE call or I think you can also disable Activities through the dev dashboard
@Amgelo U mean those?
@Amgelo HOLY THE BOT STARTED THANKS !
I'd consider checking out what java is if you dont even know the difference
Started @Amgelo :heart_CD:
Can you leave me alone i wish to call it what ever i want its not a big issue calling it java or js or JavaScript 🙏🏼
Sure, but you'll run into issues. A hamster has ham into it, it doesnt mean it is ham :shrug:
Please leave me alone you are annoying :OneOfSoujisOnlyTwoEmoji:
?
@Amgelo How to turn the bot off?
press ctrl c
copy?
same keybind, different purpose, you do have to press it in the terminal
ok
Egg or eggplant, call it whatever you want