I have code:
const Discord = require('discord.js');
const client = new Discord.Client();
client.on('message', message => {
if(message.content == "ping"){
message.reply("pong")
}
});
client.login('SECRET BOT TOKEN HERE')
But i also have error: UnhandledPromiseRejectionWarning: Error: Incorrect login details were provided.