Created
April 6, 2021 12:35
-
-
Save PufferFishDev/79ae38e3baf0db9d8fecd9f2a1b23741 to your computer and use it in GitHub Desktop.
AI
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'); | |
const client = new Discord.Client(); | |
console.log('Starting.'); | |
client.on('ready', () => { | |
console.log('Online'); | |
}); | |
client.login('TOKEN'); | |
const COMMAND_PREFIX = '!'; | |
client.on('message', message => { | |
if (message.content === '!me') { | |
msg.reply('you?'); | |
} | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment