daily pastebin goal
30%
SHARE
TWEET

Auto .work bot

a guest Jul 22nd, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let Discord = require("discord.js");
  2. let client = new Discord.Client();
  3.  
  4. client.login("mfa.9B62D_8gToaDDdHbH-peCz8gw8CqkxuCq24XQlWiXxi7cS_CxjHQFKer2CwL3lQqHoEo3zqZ2bT-U9Zt90mj");
  5.  
  6. setTimeout(() => {
  7.   client.guilds.get('468981882684571667').channels.get('468987919970074624').send('.work');
  8.   console.log("[" + new Date() + "] worked #1");
  9. }, 5000);
  10.  
  11. let counter = 1;
  12.  
  13. setInterval(() => {
  14.   setTimeout(() => {
  15.     counter++;
  16.     client.guilds.get('468981882684571667').channels.get('468987919970074624').send('.work');
  17.     console.log("[" + new Date() + "] worked #" + counter);
  18.   }, Math.round(Math.random() * 30000));
  19. }, 603000);
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