EnragedPvP

Untitled

Feb 2nd, 2021
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.96 KB | None | 0 0
  1. const Discord = require("discord.js");
  2.  
  3. const bot = new Discord.Client();
  4.  
  5. const prefix ='-' ;
  6.  
  7.  
  8. bot.on('ready', () => {
  9. console.log('bot is ready');
  10. });
  11.  
  12. bot.on('message', function (message) {
  13. if (!message.content.startsWith(prefix) || message.author.bot)
  14. return;
  15.  
  16. const args = message.content.slice(prefix.length).split(/ +/);
  17. const command = args.shift().toLowerCase();
  18.  
  19. if (command === 'wipe') {
  20. message.channel.send('Journey Begins with OPEN BETA this FRIDAY Feb 5th 2021');
  21. } if (command === 'vote') {
  22. message.channel.send('Down below you will find all the links to our servers so that you can vote! We are currently looking into a way players can receive points upon voting');
  23. message.channel.send('Island=https://ark-servers.net/server/260594/',
  24. message.channel.send('Aberration=https://ark-servers.net/server/260596/',
  25. message.channel.send('Center=https://ark-servers.net/server/260595/',
  26. message.channel.send('Extinction=https://ark-servers.net/server/260597/',
  27. message.channel.send('Genesis=https://ark-servers.net/server/260598/',
  28. message.channel.send('Crystal Isles=https://ark-servers.net/server/260599/',
  29. message.channel.send('Ragnarok=https://ark-servers.net/server/260600/',
  30. message.channel.send('Valguero=https://ark-servers.net/server/260601/'))))))));
  31. } if (command === 'commands') {
  32. message.channel.send('The Commands for this server are as follows: (Make sure to use the prefix - )'); {
  33. message.channel.send('**-wipe**= ``lets you know when the next wipe day is``');
  34. message.channel.send('**-vote**= ``gives you voting links for ark-servers.net so you can help our server grow up the ranks!``');
  35. message.channel.send('**-commands**= ``Gives you a commands list``');
  36. }
  37. }
  38. }
  39.  
  40.  
  41. );
  42.  
  43. bot.login('ODA2MDY4NTAxMDg0ODk3Mjkw.YBkDyg.BpoInOuuoIBDoKUBm5kxdW0FJvQ')
Advertisement
Add Comment
Please, Sign In to add comment