Put token but say invalid
I put the token in first line in index.js but he say token invalid
34 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!yea and that is invalid
thats undefined
if you didn't save the token in the env, pass it directly in the
client.login()
It is fresh token
@! πππ ππ ββ‘β https://discordjs.guide/creating-your-bot/#using-dotenv
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
Can anyone solve this problem
I will be give access in panal
Please help me
read the linked guide
Make a new file name process.env and add ther token it is right ?
@mallusrgreat
...
did you read the guide
I read but I can't understand
dont ping me unless you fully read that section
Config.js empty not there token option
Sry
How to fix .help type bot will be offline how to fix
fix the error
mainPrefix is not defined
don't use bot-hosting.
Unknown Userβ’8mo ago
Message Not Public
Sign In & Join Server To View
@! πππ ππ ββ‘β did u slove it
Unknown Userβ’8mo ago
Message Not Public
Sign In & Join Server To View
If it says invalid token
Simply head over to the discord developer website and reset your bots token and replace it with the old one and try run it again
If not work the first time it could be a problem with the dev protail so try it atleast twice
Unknown Userβ’8mo ago
Message Not Public
Sign In & Join Server To View
Oh ok sorry
@JΓ΄ ππ¦ can u help me the other guy is just rude well he says he not but I think he is #π¨γ»Unhandled promise rejection
Unknown Userβ’8mo ago
Message Not Public
Sign In & Join Server To View
Ok sorry
Unknown Userβ’8mo ago
Message Not Public
Sign In & Join Server To View
So sorry bro
Oh if ur useing axocoder owo bot that is broke long time ago
I know that bc he is my friend and I'm mod on his server
No
No that only server name
Unknown Userβ’8mo ago
Message Not Public
Sign In & Join Server To View
Yes
Unknown Userβ’8mo ago
Message Not Public
Sign In & Join Server To View
This error
Unknown Userβ’8mo ago
Message Not Public
Sign In & Join Server To View
Tag suggestion for @! πππ ππ ββ‘β:
-
ReferenceError: "x" is not defined
: learn more
- TypeError: Cannot read properties of undefined/null (reading "x")
: learn moreUnknown Userβ’8mo ago
Message Not Public
Sign In & Join Server To View