Skip to content

Instantly share code, notes, and snippets.

@PufferFishDev
Created April 6, 2021 12:35
Show Gist options
  • Save PufferFishDev/79ae38e3baf0db9d8fecd9f2a1b23741 to your computer and use it in GitHub Desktop.
Save PufferFishDev/79ae38e3baf0db9d8fecd9f2a1b23741 to your computer and use it in GitHub Desktop.
AI
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