repl.it
Nodejs

No description

fork
loading
Files
  • index.js
  • Packager files
  • package-lock.json
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
const Discord = require('discord.js');
const client = new Discord.Client();

client.on('ready', () => {
  console.log(`Logged in as ${client.user.tag}!`);
});

client.on('message', message => {
  if (message.author === client.user) {
      return
  }
  if (message.content === 'jizz') {
    message.channel.send('jizz');
  }
  if (message.content === 'Jizz') {
      message.channel.send('jizz')
  }
});

client.login('NjAzOTMyMjE4MTU0Mjg3MTM0.XTml7w.qcsYTfThG78E54BfyRzsIrFN1AY');
?