Skip to content

Instantly share code, notes, and snippets.

View jdc20181's full-sized avatar

jdc20181

  • Founder of Krypto Projects
View GitHub Profile
@jdc20181
jdc20181 / bot.js
Created December 10, 2018 03:59 — forked from jtsshieh/bot.js
const Discord = require('discord.js');
const bot = new Discord.Client();
bot.commands = new Discord.Collection();
bot.on('ready', () => {
console.log(`Logged in as ${bot.user.tag}!`);
});
bot.on('messageReactionAdd', (reaction, user) => {
if (!reaction.message.embeds) return;