Advertisement
Guest User

Untitled

a guest
Apr 25th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const discord = require("discord.js")
  2. const {bot} = require('../Main');
  3.  
  4. module.exports = async(bot) => {
  5.   console.log(`Bot is now online!, current bot is ${bot.user.tag}`);
  6.   console.log(`${bot.user.username} is online on ${bot.guilds.size} server!`);
  7.  
  8.  
  9.  
  10.   let Status = [
  11.     "help",
  12.     "Dont afraid to ask!",
  13.     "Custom made bot!",
  14.     "Made by TommyWaltion#1756",
  15.     "Welcome!",
  16.     `over ${bot.users.size} user!`,
  17.     `${bot.guilds.size}`
  18.   ]
  19.  
  20.   bot.user.setActivity(prefix, {type: "STREAMING"});
  21.  
  22.   setInterval(function() {
  23.     let Stats = Status[Math.floor(Math.random() * Status.length)];
  24.     bot.user.setActivity(Stats, {type: "STREAMING"});
  25.   }, 60000);
  26.  
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement