Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. if (message.content.startsWith(prefix +"botloader")){ // activa la funcion botact() que carga el allycode en los bots del server
  2. const args = message.content.slice(prefix.length).trim().split(/ +/g);
  3. const command = args.shift().toLowerCase();
  4. let usuario = message.mentions.members.first();
  5.  
  6. console.log(command);
  7. console.log(args);
  8. console.log("args"+" "+args.toString + " ..");
  9. if (args == null) {
  10. message.reply("No pusiste ningun numero de aliado valido ");
  11. }
  12. else
  13.  
  14. {
  15. if (message.mentions.users.size >0)
  16. {
  17. BOTACT(usuario,args[1]);
  18. }
  19. else
  20. {
  21. message.reply("No mencionaste ningun Usuario");
  22. }
  23. }
  24.  
  25. }
  26.  
  27. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement