text: const Discord = require("discord.js");
  const fs = require("fs")
  const config = require(`${process.cwd()}/botconfig/config.json`);
  const ee = require(`${process.cwd()}/botconfig/embed.json`);
  const radios = require("../botconfig/radiostations.json");
  module.exports = (client) => {
    /**
     * @INFO
     * This will be all of our CLIENT VARIABLES for the commands as well as a cooldown system for each cmd!
     */
    client.invites = {};
    client.commands = new Discord.Collection(); //an collection (like a digital map(database)) for all your commands
    client.aliases = new Discord.Collection(); //an collection for all your command-aliases
    client.slashCommands = new Discord.Collection(); //an collection for all the slash Commands
    fs.readdir("./commands/", (err, files) => {
      if (err) console.error(err);
      else {
        client.categories = files
      }
    }); //load the categories asynchronusly
    client.cooldowns = new Discord.Collection(); //an collection for cooldown commands of each user
    client.getInvite = async (id) => {
      if (!id || id.length != 18) return "INVALID CHANNELID";
      let ch = await client.channels.fetch("802914917874663454").catch(() => { })
      if (!ch) return `COULD NOT CREATE INVITE FOR: <#802914917874663454> in **${ch.guild.name}**`
      if (!ch.permissionsFor(ch.guild.me).has(Discord.Permissions.FLAGS.CREATE_INSTANT_INVITE)) {
        return `:x: **I am missing the CREATE_INSTANT_INVITE PERMISSION for \`${ch.name}\`**`
      }
      let inv = await ch.createInvite();
      if (!inv) return `COULD NOT CREATE INVITE FOR: <#802914917874663454> in **${ch.guild.name}**`
      return `<#802914917874663454> | discord.gg/${inv.code}`
    }
    /**
     * @INFO
     * The Euqalizer Settings
     */
    client.defaultEQ = [{
      band: 0,
      gain: 0.25
    },
    {
      band: 1,
      gain: 0.025
    },
    {
      band: 2,
      gain: 0.0125
    },
    {
      band: 3,
      gain: 0
    },
    {
      band: 4,
      gain: 0
    },
    {
      band: 5,
      gain: -0.0125
    },
    {
      band: 6,
      gain: -0.025
    },
    {
      band: 7,
      gain: -0.0175
    },
    {
      band: 8,
      gain: 0
    },
    {
      band: 9,
      gain: 0
    },
    {
      band: 10,
      gain: 0.0125
    },
    {
      band: 11,
      gain: 0.025
    },
    {
      band: 12,
      gain: 0.25
    },
    {
      band: 13,
      gain: 0.125
    },
    {
      band: 14,
      gain: 0.125
    },
    ];
    client.bassboost = {
      none: client.defaultEQ,
      low: [{
        band: 0,
        gain: 0.0625
      },
      {
        band: 1,
        gain: 0.125
      },
      {
        band: 2,
        gain: -0.125
      },
      {
        band: 3,
        gain: -0.0625
      },
      {
        band: 4,
        gain: 0
      },
      {
        band: 5,
        gain: -0.0125
      },
      {
        band: 6,
        gain: -0.025
      },
      {
        band: 7,
        gain: -0.0175
      },
      {
        band: 8,
        gain: 0
      },
      {
        band: 9,
        gain: 0
      },
      {
        band: 10,
        gain: 0.0125
      },
      {
        band: 11,
        gain: 0.025
      },
      {
        band: 12,
        gain: 0.375
      },
      {
        band: 13,
        gain: 0.125
      },
      {
        band: 14,
        gain: 0.125
      },
      ],
      medium: [{
        band: 0,
        gain: 0.125
      },
      {
        band: 1,
        gain: 0.25
      },
      {
        band: 2,
        gain: -0.25
      },
      {
        band: 3,
        gain: -0.125
      },
      {
        band: 4,
        gain: 0
      },
      {
        band: 5,
        gain: -0.0125
      },
      {
        band: 6,
        gain: -0.025
      },
      {
        band: 7,
        gain: -0.0175
      },
      {
        band: 8,
        gain: 0
      },
      {
        band: 9,
        gain: 0
      },
      {
        band: 10,
        gain: 0.0125
      },
      {
        band: 11,
        gain: 0.025
      },
      {
        band: 12,
        gain: 0.375
      },
      {
        band: 13,
        gain: 0.125
      },
      {
        band: 14,
        gain: 0.125
      },
      ],
      high: [{
        band: 0,
        gain: 0.1875
      },
      {
        band: 1,
        gain: 0.375
      },
      {
        band: 2,
        gain: -0.375
      },
      {
        band: 3,
        gain: -0.1875
      },
      {
        band: 4,
        gain: 0
      },
      {
        band: 5,
        gain: -0.0125
      },
      {
        band: 6,
        gain: -0.025
      },
      {
        band: 7,
        gain: -0.0175
      },
      {
        band: 8,
        gain: 0
      },
      {
        band: 9,
        gain: 0
      },
      {
        band: 10,
        gain: 0.0125
      },
      {
        band: 11,
        gain: 0.025
      },
      {
        band: 12,
        gain: 0.375
      },
      {
        band: 13,
        gain: 0.125
      },
      {
        band: 14,
        gain: 0.125
      },
      ],
      earrape: [{
        band: 0,
        gain: 0.25
      },
      {
        band: 1,
        gain: 0.5
      },
      {
        band: 2,
        gain: -0.5
      },
      {
        band: 3,
        gain: -0.25
      },
      {
        band: 4,
        gain: 0
      },
      {
        band: 5,
        gain: -0.0125
      },
      {
        band: 6,
        gain: -0.025
      },
      {
        band: 7,
        gain: -0.0175
      },
      {
        band: 8,
        gain: 0
      },
      {
        band: 9,
        gain: 0
      },
      {
        band: 10,
        gain: 0.0125
      },
      {
        band: 11,
        gain: 0.025
      },
      {
        band: 12,
        gain: 0.375
      },
      {
        band: 13,
        gain: 0.125
      },
      {
        band: 14,
        gain: 0.125
      },
      ],
    };
    client.eqs = {
      music: client.defaultEQ,
      pop: [{
        band: 0,
        gain: -0.200
      },
      {
        band: 1,
        gain: -0.100
      },
      {
        band: 2,
        gain: 0
      },
      {
        band: 3,
        gain: 0.100
      },
      {
        band: 4,
        gain: 0.150
      },
      {
        band: 5,
        gain: 0.250
      },
      {
        band: 6,
        gain: 0.300
      },
      {
        band: 7,
        gain: 0.350
      },
      {
        band: 8,
        gain: 0.300
      },
      {
        band: 9,
        gain: 0.250
      },
      {
        band: 10,
        gain: 0.150
      },
      {
        band: 11,
        gain: 0.100
      },
      {
        band: 12,
        gain: 0
      },
      {
        band: 13,
        gain: -0.100
      },
      {
        band: 14,
        gain: -0.200
      },
      ],
      electronic: [{
        band: 0,
        gain: 0.375
      },
      {
        band: 1,
        gain: 0.350
      },
      {
        band: 2,
        gain: 0.125
      },
      {
        band: 3,
        gain: 0
      },
      {
        band: 4,
        gain: 0
      },
      {
        band: 5,
        gain: -0.125
      },
      {
        band: 6,
        gain: -0.125
      },
      {
        band: 7,
        gain: 0
      },
      {
        band: 8,
        gain: 0.25
      },
      {
        band: 9,
        gain: 0.125
      },
      {
        band: 10,
        gain: 0.15
      },
      {
        band: 11,
        gain: 0.2
      },
      {
        band: 12,
        gain: 0.250
      },
      {
        band: 13,
        gain: 0.350
      },
      {
        band: 14,
        gain: 0.400
      },
      ],
      classical: [{
        band: 0,
        gain: 0.375
      },
      {
        band: 1,
        gain: 0.350
      },
      {
        band: 2,
        gain: 0.125
      },
      {
        band: 3,
        gain: 0
      },
      {
        band: 4,
        gain: 0
      },
      {
        band: 5,
        gain: 0.125
      },
      {
        band: 6,
        gain: 0.550
      },
      {
        band: 7,
        gain: 0.050
      },
      {
        band: 8,
        gain: 0.125
      },
      {
        band: 9,
        gain: 0.250
      },
      {
        band: 10,
        gain: 0.200
      },
      {
        band: 11,
        gain: 0.250
      },
      {
        band: 12,
        gain: 0.300
      },
      {
        band: 13,
        gain: 0.250
      },
      {
        band: 14,
        gain: 0.300
      },
      ],
      rock: [{
        band: 0,
        gain: 0.300
      },
      {
        band: 1,
        gain: 0.250
      },
      {
        band: 2,
        gain: 0.200
      },
      {
        band: 3,
        gain: 0.100
      },
      {
        band: 4,
        gain: 0.050
      },
      {
        band: 5,
        gain: -0.050
      },
      {
        band: 6,
        gain: -0.150
      },
      {
        band: 7,
        gain: -0.200
      },
      {
        band: 8,
        gain: -0.100
      },
      {
        band: 9,
        gain: -0.050
      },
      {
        band: 10,
        gain: 0.050
      },
      {
        band: 11,
        gain: 0.100
      },
      {
        band: 12,
        gain: 0.200
      },
      {
        band: 13,
        gain: 0.250
      },
      {
        band: 14,
        gain: 0.300
      },
      ],
  
      full: [{
        band: 0,
        gain: 0.25 + 0.375
      },
      {
        band: 1,
        gain: 0.25 + 0.025
      },
      {
        band: 2,
        gain: 0.25 + 0.0125
      },
      {
        band: 3,
        gain: 0.25 + 0
      },
      {
        band: 4,
        gain: 0.25 + 0
      },
      {
        band: 5,
        gain: 0.25 + -0.0125
      },
      {
        band: 6,
        gain: 0.25 + -0.025
      },
      {
        band: 7,
        gain: 0.25 + -0.0175
      },
      {
        band: 8,
        gain: 0.25 + 0
      },
      {
        band: 9,
        gain: 0.25 + 0
      },
      {
        band: 10,
        gain: 0.25 + 0.0125
      },
      {
        band: 11,
        gain: 0.25 + 0.025
      },
      {
        band: 12,
        gain: 0.25 + 0.375
      },
      {
        band: 13,
        gain: 0.25 + 0.125
      },
      {
        band: 14,
        gain: 0.25 + 0.125
      },
      ],
      gaming: [{
        band: 0,
        gain: 0.350
      },
      {
        band: 1,
        gain: 0.300
      },
      {
        band: 2,
        gain: 0.250
      },
      {
        band: 3,
        gain: 0.200
      },
      {
        band: 4,
        gain: 0.150
      },
      {
        band: 5,
        gain: 0.100
      },
      {
        band: 6,
        gain: 0.050
      },
      {
        band: 7,
        gain: -0.0
      },
      {
        band: 8,
        gain: -0.050
      },
      {
        band: 9,
        gain: -0.100
      },
      {
        band: 10,
        gain: -0.150
      },
      {
        band: 11,
        gain: -0.200
      },
      {
        band: 12,
        gain: -0.250
      },
      {
        band: 13,
        gain: -0.300
      },
      {
        band: 14,
        gain: -0.350
      },
      ],
  
      bassboost: client.bassboost.medium,
      earrape: client.bassboost.earrape
    };
    return;
  };
  /**
   * @INFO
   * Bot Coded by Limsathya#2846 | https://discord.gg/PTGzEysqjf
   * @INFO
   * Work for Limsathyacord | https://discord.gg/PTGzEysqjf
   * @INFO
   * Please mention him / Limsathyacord, when using this Code!
   * @INFO
   */
  