import { watchFile, unwatchFile } from 'fs'
import chalk from 'chalk'
import { fileURLToPath } from 'url'
import fs from 'fs'

//Owner Numbers 
global.owner = [
  ['923135673658', 'wasi', false],
  [''], 
  [''],
]

//global.pairingNumber = "" //put your bot number here
global.mods = ['923192173398'] 
global.prems = ['923192173398', '923192173398', '923192173398']
global.allowed = ['923192173398']
global.keysZens = ['c2459db922', '37CC845916', '6fb0eff124']
global.keysxxx = keysZens[Math.floor(keysZens.length * Math.random())]
global.keysxteammm = ['29d4b59a4aa687ca', '5LTV57azwaid7dXfz5fzJu', 'cb15ed422c71a2fb', '5bd33b276d41d6b4', 'HIRO', 'kurrxd09', 'ebb6251cc00f9c63']
global.keysxteam = keysxteammm[Math.floor(keysxteammm.length * Math.random())]
global.keysneoxrrr = ['5VC9rvNx', 'cfALv5']
global.keysneoxr = keysneoxrrr[Math.floor(keysneoxrrr.length * Math.random())]
global.lolkeysapi = ['GataDios']

global.APIs = { // API Prefix
  // name: 'https://website'
  xteam: 'https://api.xteam.xyz', 
  nrtm: 'https://fg-nrtm.ddns.net',
  bg: 'http://bochil.ddns.net',
  fgmods: 'https://api.fgmods.xyz'
}
global.APIKeys = { // APIKey Here
  // 'https://website': 'apikey'
  'https://api.xteam.xyz': 'd90a9e986e18778b',
  'https://zenzapis.xyz': '675e34de8a', 
  'https://api.fgmods.xyz': 'dEBWvxCY'
}

// Sticker WM
global.botname = 'ð�—ªð�—”ð�—¦ð�—œ-ð�— ð�——'
global.princebot = 'ðŸ›¡ï¸�ð�—ªð�—”ð�—¦ð�—œ ð�—§ð�—˜ð�—–ð�—›ðŸ›¡ï¸�'
global.packname = 'ð�—ªð�—”ð�—¦ð�—œâ™¥ï¸�' 
global.author = 'ð�—§ð�—˜ð�—–ð�—›â™¥ï¸�' 
global.princeig = 'https://www.instagram.com' 
global.princegp = 'https://whatsapp.com/channel/0029VaDK8ZUDjiOhwFS1cP2j'
global.menuvid = 'https://i.imgur.com/0UK6D3b.mp4'
global.Princesc = '' 
global.princeyt = 'https://youtube.com/@wasitech1'
global.Princelog = 'https://i.imgur.com/ujxeU8g.jpeg'
global.thumb = fs.readFileSync('./Assets/wasi.png')

global.wait = '*â™»ï¸� _ÊŸá´�á´…ÉªÉ´É¢ á´˜ÊŸá´¢ á´¡á´€Éªá´› á´…á´‡á´€Ê€ _*\n*â–°â–°â–°â–±â–±â–±â–±â–±*'
global.imgs = '*ðŸ–¼ï¸� _ð�™¶ð�™´ð�šƒð�šƒð�™¸ð�™½ð�™¶ ð�šˆð�™¾ð�š„ð�š� Éªá´�á´€É¢á´‡s ð�š†ð�™°ð�™¸ð�šƒ..._*\n*â–°â–°â–°â–±â–±â–±â–±â–±*'
global.rwait = 'â™»ï¸�'
global.dmoji = 'ðŸ¤­'
global.done = 'âœ…'
global.error = 'â�Œ' 
global.xmoji = 'ðŸŒ€' 

global.multiplier = 69 
global.maxwarn = '2' // mÃ¡xima advertencias

let file = fileURLToPath(import.meta.url)
watchFile(file, () => {
  unwatchFile(file)
  console.log(chalk.redBright("Update 'config.js'"))
  import(`${file}?update=${Date.now()}`)
})
