Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Discord = require('discord.js');
- const bot = new Discord.Client();
- const token = '';
- bot.on('ready', () =>{
- console.log('I am online!')
- })
- bot.on('message', msg=>{
- if(msg.content === "general kenobi"
- msg.reply('hello there')
- }}
- bot.login(token);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement