text: //here the event starts
  let config = require(`${process.cwd()}/botconfig/config.json`)
  const Discord = require("discord.js")
  const moment = require("moment")
  const { nFormatter } = require(`${process.cwd()}/handlers/functions`)
  module.exports = client => {
    //SETTING ALL GUILD DATA FOR THE DJ ONLY COMMANDS for the DEFAULT
    //client.guilds.cache.forEach(guild=>client.settings.set(guild.id, ["autoplay", "clearqueue", "forward", "loop", "jump", "loopqueue", "loopsong", "move", "pause", "resume", "removetrack", "removedupe", "restart", "rewind", "seek", "shuffle", "skip", "stop", "volume"], "djonlycmds"))
    try{
      try{
        const stringlength = 69;
        console.log("\n")
        console.log(`     ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓`.bold.brightGreen)
        console.log(`     ┃ `.bold.brightGreen + " ".repeat(-1+stringlength-` ┃ `.length)+ "┃".bold.brightGreen)
        console.log(`     ┃ `.bold.brightGreen + `Discord Bot is online!`.bold.brightGreen + " ".repeat(-1+stringlength-` ┃ `.length-`Discord Bot is online!`.length)+ "┃".bold.brightGreen)
        console.log(`     ┃ `.bold.brightGreen + ` /--/ ${client.user.tag} /--/ `.bold.brightGreen+ " ".repeat(-1+stringlength-` ┃ `.length-` /--/ ${client.user.tag} /--/ `.length)+ "┃".bold.brightGreen)
        console.log(`     ┃ `.bold.brightGreen + " ".repeat(-1+stringlength-` ┃ `.length)+ "┃".bold.brightGreen)
        console.log(`     ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛`.bold.brightGreen)
      } catch { /* */ }
  
      console.table({ 
        'Bot User:' : `${client.user.tag}` ,
        'Guild(s):' : `${client.guilds.cache.size} Servers` ,
        'Watching:' : `${client.guilds.cache.reduce((a, b) => a + b?.memberCount, 0)} Members` ,
        'Prefix:' : `${config.prefix}` ,
        'Commands:' : `${client.commands.size}` ,
        'Discord.js:' : `v${Discord.version}` ,
        'Node.js:' : `${process.version}` ,
        'Plattform:' : `${process.platform} ${process.arch}` ,
        'Memory:' : `${(process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2)} MB / ${(process.memoryUsage().rss / 1024 / 1024).toFixed(2)} MB`
      });
      
      change_status(client);
      //loop through the status per each 10 minutes
      setInterval(()=>{
        change_status(client);
      }, 90 * 1000);
    
    } catch (e){
      console.log(String(e.stack).grey.bgRed)
    }
  }
  var state = false;
  function change_status(client){
    config = require(`${process.cwd()}/botconfig/config.json`)
    if(!state){
      client.user.setActivity(`${config.status.text}`
        .replace("{prefix}", config.prefix)
        .replace("{guildcount}", nFormatter(client.guilds.cache.size, 2))
        .replace("{membercount}", nFormatter(client.guilds.cache.reduce((a, b) => a + b?.memberCount, 0), 2))
        .replace("{created}", moment(client.user.createdTimestamp).format("DD/MM/YYYY"))
        .replace("{createdime}", moment(client.user.createdTimestamp).format("HH:mm:ss"))
        .replace("{name}", client.user.username)
        .replace("{tag}", client.user.tag)
        .replace("{commands}", client.commands.size)
        .replace("{usedcommands}", nFormatter(Math.ceil(client.stats.get("global", "commands") * [...client.guilds.cache.values()].length / 10), 2))
        .replace("{songsplayed}", nFormatter(Math.ceil(client.stats.get("global", "songs") * [...client.guilds.cache.values()].length / 10), 2))
      , {type: config.status.type, url: config.status.url});
    } else {
      client.user.setActivity(`${config.status.text2}`
      .replace("{prefix}", config.prefix)
      .replace("{guildcount}", nFormatter(client.guilds.cache.size, 2))
      .replace("{membercount}", nFormatter(client.guilds.cache.reduce((a, b) => a + b?.memberCount, 0), 2))
      .replace("{created}", moment(client.user.createdTimestamp).format("DD/MM/YYYY"))
      .replace("{createdime}", moment(client.user.createdTimestamp).format("HH:mm:ss"))
      .replace("{name}", client.user.username)
      .replace("{tag}", client.user.tag)
      .replace("{commands}", client.commands.size)
      .replace("{usedcommands}", nFormatter(Math.ceil(client.stats.get("global", "commands") * [...client.guilds.cache.values()].length / 10), 2))
      .replace("{songsplayed}", nFormatter(Math.ceil(client.stats.get("global", "songs") * [...client.guilds.cache.values()].length / 10), 2))
      , {type: config.status.type, url: config.status.url});
    }
    state = !state;
    if(client.ad.enabled){
      setTimeout(()=>{
        client.user.setActivity(client.ad.statusad);
      }, (90 - 15) * 1000);
    }
  }
  /**
    * @INFO
    * Bot Coded by TN DEADSHOT#8167 | https://dsc.gg/deadshotgaming
    * @INFO
    * Work for Deadshot X Development | https://dsc.gg/deadshotgaming 
    * @INFO
    * Please mention him / Deadshot X Development, when using this Code! 
    * @INFO
  */
  