Advertisement
dfhfjjfgjfsfeedgf

Untitled

Dec 16th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. //start of auto changing status boi
  2. let statuses = [`discord.me/staffy`, `S2help`, `NodeJS`, `Staffy is bae!`];
  3. bot.on(`ready`, () => {
  4. setInterval(function() {
  5. let status = statuses[Math.floor(Math.random()*statuses.length)];
  6. bot.user.setPresence({ game: { name: status }, status: `online` });
  7. // bot.user.setPresence({ activity: { name: status }, status: `online` });
  8. }, 5000 )
  9. })
  10.  
  11.  
  12. //end of auto changing status boi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement