Closed tonine1337 closed 6 years ago
it doesn't run because you don't have a bot token. go get your at https://discordapp.com/developers/applications/
I have the token I just removed it from here. Its added in the original file.
What happens? Do you see any error messages in the console? Is there no output? Does it hang forever?
Try adding a disconnect listener with bot.on("disconnect", console.log);
for additional output, it will probably help!
You could also join the discord.io server for real-time help.
@cloudrac3r Thanks for the help It was some other issue. Fixed and working.
Hi,
The bot doesn't run when I type the command node bot.js. I've already done
npm install woor/discord.io#gateway_v6 --save
as explained in other issues but it doesn't help.package.json
bot.js