daily pastebin goal
84%
SHARE
TWEET

bot parte 3

a guest Feb 19th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const Discord = require("discord.js");
  2. const client = new Discord.Client();
  3.  
  4.  
  5. client.on("ready", () => {
  6.    console.log("Estoy listo!");
  7. });
  8.  
  9. client.on("message", (message) => {
  10.   if(message.content.startsWith("mc!ip")) {
  11.     message.channel.send("LapisPVP.serv.nu 1.8x - 1.13x"); }
  12.       if(message.content.startsWith("mc!ayuda")) {
  13.         message.channel.send("Estos son los comandos:mc!ip  y  mc!avatar !"); };
  14.  
  15.  
  16.  
  17.  
  18. });
  19.  
  20. client.login("NTI2ODI5NDMxMzY5NjI5Njk3.DwN8LA.fn1LvUhtn8Z_7_Zrcv-BKL6pJBk");
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top