This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Discord = require('discord.js'); // Require discord.js for your bot to communicate with the Discord API | |
const config = require('./config.json'); // Our config file | |
const client = new Discord.Client(); | |
client.on('ready', () => { // When bot is online and ready | |
console.log(`I'm ready!`); | |
}); | |
client.on("message", message => { // When the bot spots a message | |
// --------------===== Variables =====-------------- // |