#Bot won't log on
31 messages · Page 1 of 1 (latest)
index code
using a JSON config for the token
did node index.js and the bot isnt logging on
did nodemon to and that didnt work
Any errors?
After client.login(), put a console log to see if that shows in the terminal
Show full error
Syntax error, your config.json file isn't following the JSON syntax
this is what the config looks like
{
"token": "token here"
}
did i miss a comma or something
this is the exact syntax for the JSON file on the website
just checked
Anyone?
Any errors
This
Should your Json not be token: ‘token’ ?
I'll try that when I get home and let you know if that is the issue
Also just save ur code
Kk
that gave a syntax error
Could you possibly show your json file?
