Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Discord = require('discord.js');
- const bot = new Discord.Client();
- bot.on('message', (message) => {
- if(message.content == 'ping') {
- message.reply('pong');
- }
- if(message.content == 'xd') {
- message.reply('smh');
- }
- });
- bot.login('NDcwMjY2Njc3NzQxODc5Mjk2.DjWV2g.5haI90LCqwxH2X0lrdCaURVP3Q8');
- if(message.content == 'xd', 'xD', 'XD', 'Xd',) {
- message.reply('pong');
- }
Add Comment
Please, Sign In to add comment