text: require('dotenv').config()
  const { decryptMedia } = require('@open-wa/wa-decrypt')
  const fs = require('fs-extra')
  const ffmpeg = require('fluent-ffmpeg')
  const axios = require('axios')
  const moment = require('moment-timezone')
  const getYouTubeID = require('get-youtube-id')
  const os = require('os')
  const get = require('got')
  const speed = require('performance-now')
  const color = require('./lib/color')
  const fetch = require('node-fetch')
  const { spawn, exec } = require('child_process')
  const urlShortener = require('./lib/shortener')
  const nhentai = require('nhentai-js')
  const { API } = require('nhentai-api')
  const google = require('google-it')
  const translatte = require('translatte')
  const { stdout } = require('process')
  const quotedd = require('./lib/quote')
  const translate = require('translatte')
  const { getStickerMaker } = require('./lib/ttp')
  const Math_js = require('mathjs');
  const imageToBase64 = require('image-to-base64')
  const bent = require('bent')
  const request = require('request')
  const { addFilter, isFiltered } = require('./lib/msgFilter')
  
  /*
  THX BUAT YANG UDAH GUNAIN SCRIPT INI
  JANGAN LUPA JOIN GRUP WHATSAPP
  AGAR BISA MENGEMBANGKAN BOT BUKAN COPY DOANG
  
  BAGI YANG NANYA2 MASANG APIKEY DIMANA??
  BACA README NYA, PERCUMA W BUAT README
  
  SAD-BOT V1
  */
  
  const { 
      downloader,
      liriklagu,
      quotemaker,
      randomNimek,
      sleep,
      jadwalTv,
      processTime,
      instagram,
      nulis
      } = require('./lib/functions')
  
  const { 
      help,
      admincmd,
      ownercmd,
      nsfwcmd,
      kerangcmd,
      mediacmd,
      animecmd,
      othercmd,
      downloadcmd,
      praycmd,
      groupcmd,
      bahasalist,
      sewa,
      snk, 
      info, 
      sumbang, 
      readme, 
      listChannel,
      commandArray
      } = require('./lib/help')
  
  const { 
      uploadImages, 
      custom,
      stickerburn,
      stickerlight
      } = require('./lib/fetcher')
  
  // LOAD FILE
  const banned = JSON.parse(fs.readFileSync('./lib/database/banned.json'))
  const nsfw_ = JSON.parse(fs.readFileSync('./lib/database/nsfwz.json'))
  const simi_ = JSON.parse(fs.readFileSync('./lib/database/Simsimi.json'))
  const limit = JSON.parse(fs.readFileSync('./lib/database/limit.json'))
  const welkom = JSON.parse(fs.readFileSync('./lib/database/welcome.json'))
  const left = JSON.parse(fs.readFileSync('./lib/database/left.json'))
  const muted = JSON.parse(fs.readFileSync('./lib/database/muted.json'))
  const setting = JSON.parse(fs.readFileSync('./lib/database/setting.json'))
  const msgLimit = JSON.parse(fs.readFileSync('./lib/database/msgLimit.json'))
  const adminNumber = JSON.parse(fs.readFileSync('./lib/database/admin.json'))
  
  let { 
      limitCount,
      memberLimit, 
      groupLimit,
      banChats,
      barbarkey,
      vhtearkey,
      restartState: isRestart,
      mtc: mtcState
      } = setting
  
  let state = {
      status: () => {
          if(banChats){
              return 'Nonaktif'
          }else if(mtcState){
              return 'Nonaktif'
          }else if(!mtcState){
              return 'Aktif'
          }else{
              return 'Aktif'
          }
      }
  }
  
  moment.tz.setDefault('Asia/Jakarta').locale('id')
  
  module.exports = tobz = async (tobz, message) => {
      try {
          const { 
              type, 
              id, 
              from, 
              t, 
              sender, 
              isGroupMsg, 
              chat, 
              chatId, 
              caption, 
              isMedia, 
              mimetype,
              quotedMsg, 
              quotedMsgObj, 
              author, 
              mentionedJidList 
              } = message
  
          let { body } = message
          const { name, formattedTitle } = chat
          let { pushname, verifiedName } = sender
          pushname = pushname || verifiedName
          const commands = caption || body || ''
          const prefix = '#'
          const chats = (type === 'chat') ? body : (type === 'image' || type === 'video') ? caption : ''
          const command = commands.toLowerCase().split(' ')[0] || ''
          const args =  commands.split(' ')
          const argx = commands.toLowerCase()
          const isCmd = command.startsWith(prefix)
          
          const isQuotedImage = quotedMsg && quotedMsg.type === 'image'
          const isQuotedVideo = quotedMsg && quotedMsg.type === 'video'
          const isQuotedAudio = quotedMsg && (quotedMsg.type === 'audio' || quotedMsg.type === 'ptt' || quotedMsg.type === 'ppt')
          const isQuotedFile = quotedMsg && quotedMsg.type === 'document'
  
          body = (type === 'chat' && body.startsWith(prefix)) ? body : (((type === 'image' || type === 'video') && caption) && caption.startsWith(prefix)) ? caption : ''
  
          function restartAwal(client){
              setting.restartState = false
              isRestart = false
              tobz.sendText(setting.restartId, 'Restart Succesfull!')
              setting.restartId = 'undefined'
              fs.writeFileSync('./lib/setting.json', JSON.stringify(setting, null,2));
          }
   
          const isMuted = (chatId) => {
            if(muted.includes(chatId)){
              return false
          }else{
              return true
              }
          }
  
          function banChat () {
              if(banChats == true) {
              return false
          }else{
              return true
              }
          }
  
          if (typeof Array.prototype.splice === 'undefined') {
              Array.prototype.splice = function (index, howmany, elemes) {
                  howmany = typeof howmany === 'undefined' || this.length;
                  var elems = Array.prototype.slice.call(arguments, 2), newArr = this.slice(0, index), last = this.slice(index + howmany);
                  newArr = newArr.concat.apply(newArr, elems);
                  newArr = newArr.concat.apply(newArr, last);
                  return newArr;
              }
          }
  
          const apakah = [
              'Ya',
              'Tidak',
              'Coba Ulangi'
              ]
  
          const bisakah = [
              'Bisa',
              'Tidak Bisa',
              'Coba Ulangi'
              ]
  
          const kapankah = [
              '1 Minggu lagi',
              '1 Bulan lagi',
              '1 Tahun lagi'
              ]
  
          const rate = [
              '100%',
              '95%',
              '90%',
              '85%',
              '80%',
              '75%',
              '70%',
              '65%',
              '60%',
              '55%',
              '50%',
              '45%',
              '40%',
              '35%',
              '30%',
              '25%',
              '20%',
              '15%',
              '10%',
              '5%'
              ]
  
          const mess = {
              wait: '[ WAIT ] Sedang di proses⏳ silahkan tunggu sebentar',
              error: {
                  St: '[❗] Kirim gambar dengan caption *#sticker* atau tag gambar yang sudah dikirim',
                  Ti: '[❗] Replay sticker dengan caption *#stickertoimg* atau tag sticker yang sudah dikirim',
                  Qm: '[❗] Terjadi kesalahan, mungkin themenya tidak tersedia!',
                  Yt3: '[❗] Terjadi kesalahan, tidak dapat meng konversi ke mp3!',
                  Yt4: '[❗] Terjadi kesalahan, mungkin error di sebabkan oleh sistem.',
                  Ig: '[❗] Terjadi kesalahan, mungkin karena akunnya private',
                  Ki: '[❗] Bot tidak bisa mengeluarkan Admin group!',
                  Sp: '[❗] Bot tidak bisa mengeluarkan Admin',
                  Ow: '[❗] Bot tidak bisa mengeluarkan Owner',
                  Bk: '[❗] Bot tidak bisa memblockir Owner',
                  Ad: '[❗] Tidak dapat menambahkan target, mungkin karena di private',
                  Iv: '[❗] Link yang anda kirim tidak valid!'
              }
          }
  
          const time = moment(t * 1000).format('DD/MM HH:mm:ss')
          const botNumber = await tobz.getHostNumber()
          const blockNumber = await tobz.getBlockedIds()
          const groupId = isGroupMsg ? chat.groupMetadata.id : ''
          const groupAdmins = isGroupMsg ? await tobz.getGroupAdmins(groupId) : ''
          const isGroupAdmins = isGroupMsg ? groupAdmins.includes(sender.id) : false
          const isBotGroupAdmins = isGroupMsg ? groupAdmins.includes(botNumber + '@c.us') : false
          const serial = sender.id
  
          const isAdmin = adminNumber.includes(sender.id)
          const ownerNumber = '6283164445159@c.us'
          const isOwner = ownerNumber.includes(sender.id)
          
          const isWhite = (chatId) => adminNumber.includes(chatId) ? true : false
          const isWhiteList = (chatId) => {
              if(adminNumber.includes(sender.id)){
                  if(muted.includes(chatId)) return false
                  return true
              }else{
                  return false
              }
          }
          
          const isBanned = banned.includes(sender.id)
          const isBlocked = blockNumber.includes(sender.id)
          const isNsfw = isGroupMsg ? nsfw_.includes(chat.id) : false
          const isSimi = isGroupMsg ? simi_.includes(chat.id) : false
          const uaOverride = 'WhatsApp/2.2029.4 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36'
          const isUrl = new RegExp(/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&/=]*)/gi)
          const url = args.length !== 0 ? args[0] : ''
  
          const tutor = 'https://i.ibb.co/Hp1XGbL/a4dec92b8922.jpg'
          const errorurl = 'https://steamuserimages-a.akamaihd.net/ugc/954087817129084207/5B7E46EE484181A676C02DFCAD48ECB1C74BC423/?imw=512&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false'
          const errorurl2 = 'https://steamuserimages-a.akamaihd.net/ugc/954087817129084207/5B7E46EE484181A676C02DFCAD48ECB1C74BC423/?imw=512&&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false'
          // FUNCTION
                  function isMsgLimit(id){
                      if (isAdmin) {return false;}
                      let found = false;
                      for (let i of msgLimit){
                          if(i.id === id){
                              if (i.msg >= 12) {
                                  found === true 
                                  tobz.reply(from, '*[ANTI-SPAM]*\nMaaf, akun anda kami blok karena SPAM, dan tidak bisa di UNBLOK!', id)
                                  tobz.contactBlock(id)
                                  banned.push(id)
                                  fs.writeFileSync('./lib/database/banned.json', JSON.stringify(banned))
                                  return true;
                              }else if(i.msg >= 7){
                                  found === true
                                  tobz.reply(from, '*[ANTI-SPAM]*\nNomor anda terdeteksi spam!\nMohon tidak spam 5 pesan lagi atau nomor anda AUTO BLOK!', id)
                                  return true
                              }else{
                                  found === true
                                  return false;
                              }   
                          }
                      }
                      if (found === false){
                          let obj = {id: `${id}`, msg:1};
                          msgLimit.push(obj);
                          fs.writeFileSync('./lib/database/msgLimit.json',JSON.stringify(msgLimit));
                          return false;
                      }  
                  }
                  function addMsgLimit(id){
                      if (isAdmin) {return;}
                      var found = false
                      Object.keys(msgLimit).forEach((i) => {
                          if(msgLimit[i].id == id){
                              found = i
                          }
                      })
                      if (found !== false) {
                          msgLimit[found].msg += 1;
                          fs.writeFileSync('./lib/database/msgLimit.json',JSON.stringify(msgLimit));
                      }
                  }
                  function isLimit(id){
                      if (isAdmin) {return false;}
                      let found = false;
                      for (let i of limit){
                          if(i.id === id){
                              let limits = i.limit;
                              if (limits >= limitCount) {
                                  found = true;
                                  tobz.reply(from, 'Perintah BOT anda sudah mencapai batas, coba esok hari :)', id)
                                  return true;
                              }else{
                                  limit
                                  found = true;
                                  return false;
                              }
                          }
                      }
                      if (found === false){
                          let obj = {id: `${id}`, limit:1};
                          limit.push(obj);
                          fs.writeFileSync('./lib/database/limit.json',JSON.stringify(limit));
                          return false;
                      }  
                  }
                  function limitAdd (id) {
                      if (isAdmin) {return;}
                      var found = false;
                      Object.keys(limit).forEach((i) => {
                          if(limit[i].id == id){
                              found = i
                          }
                      })
                      if (found !== false) {
                          limit[found].limit += 1;
                          fs.writeFileSync('./lib/database/limit.json',JSON.stringify(limit));
                      }
                  }
          
                  function monospace(string) {
                      return '```' + string + '```'
                  }
                  // END HELPER FUNCTION
                  if (isGroupMsg && !isGroupAdmins && !isAdmin && !isOwner){
                      if (chats.match(/(https:\/\/chat.whatsapp.com)/gi)) {
                          const check = await tobz.inviteInfo(chats);
                          if (!check) {
                              return
                          } else {
                              tobz.reply(from, `*「 GROUP LINK DETECTOR 」*\nKamu mengirimkan link grup chat, maaf kamu di kick dari grup :(`, id).then(() => {
                                  tobz.removeParticipant(groupId, sender.id)
                              })
                          }
                      }
                  }
                  // MRHRTZ
                  if (chats.match("anjing") || chats.match("gblk") || chats.match("tolol") || chats.match("kntl")) {
                      if (!isGroupAdmins) {
                          return tobz.reply(from, "JAGA UCAPAN DONG!! 😠", id)
                          .then(() => tobz.removeParticipant(groupId, sender.id))
                          .then(() => {
                              tobz.sendText(from, `*「 ANTI BADWORD 」*\nKamu mengirimkan link grup chat, maaf kamu di kick dari grup 🙁`)
                          }).catch(() => tobz.sendText(from, `Untung REV Bukan Admin, Kalo Jadi Admin Udah Aku Kick Tuh! 😑`))
                      } else {
                          return tobz.reply(from, "Tolong Jaga Ucapan Yahh 😇", id)
                      }
                  }
                  
                  if(body === '#mute' && isMuted(chatId) == true){
                      if(isGroupMsg) {
                          if (!isAdmin) return tobz.reply(from, 'Maaf, perintah ini hanya dapat dilakukan oleh admin REV!', id)
                          if(isMsgLimit(serial)){
                              return
                          }else{
                              addMsgLimit(serial)
                          }
                          muted.push(chatId)
                          fs.writeFileSync('./lib/database/muted.json', JSON.stringify(muted, null, 2))
                          tobz.reply(from, 'Bot telah di mute pada chat ini! #unmute untuk unmute!', id)
                      }else{
                          if(isMsgLimit(serial)){
                              return
                          }else{
                              addMsgLimit(serial)
                          }
                          muted.push(chatId)
                          fs.writeFileSync('./lib/database/muted.json', JSON.stringify(muted, null, 2))
                          reply(from, 'Bot telah di mute pada chat ini! #unmute untuk unmute!', id)
                      }
                  }
                  if(body === '#unmute' && isMuted(chatId) == false){
                      if(isGroupMsg) {
                          if (!isAdmin) return tobz.reply(from, 'Maaf, perintah ini hanya dapat dilakukan oleh admin REV!', id)
                          if(isMsgLimit(serial)){
                              return
                          }else{
                              addMsgLimit(serial)
                          }
                          let index = muted.indexOf(chatId);
                          muted.splice(index,1)
                          fs.writeFileSync('./lib/database/muted.json', JSON.stringify(muted, null, 2))
                          tobz.reply(from, 'Bot telah di unmute!', id)         
                      }else{
                          if(isMsgLimit(serial)){
                              return
                          }else{
                              addMsgLimit(serial)
                          }
                          let index = muted.indexOf(chatId);
                          muted.splice(index,1)
                          fs.writeFileSync('./lib/database/muted.json', JSON.stringify(muted, null, 2))
                          tobz.reply(from, 'Bot telah di unmute!', id)                   
                      }
                  }
                  if (body === '#unbanchat') {
                      if (!isOwner) return tobz.reply(from, 'Maaf, perintah ini hanya dapat dilakukan oleh Owner REV!', id)
                      if(setting.banChats === false) return
                      setting.banChats = false
                      banChats = false
                      fs.writeFileSync('./lib/database/setting.json', JSON.stringify(setting, null, 2))
                      tobz.reply('Global chat has been disable!')
                  }
  
          // [BETA] Avoid Spam Message
          if (isCmd && isFiltered(from) && !isGroupMsg) { return console.log(color('[SPAM]', 'red'), color(moment(t * 1000).format('DD/MM/YY HH:mm:ss'), 'yellow'), color(`${command} [${args.length}]`), 'from', color(pushname)) }
          if (isCmd && isFiltered(from) && isGroupMsg) { return console.log(color('[SPAM]', 'red'), color(moment(t * 1000).format('DD/MM/YY HH:mm:ss'), 'yellow'), color(`${command} [${args.length}]`), 'from', color(pushname), 'in', color(name || formattedTitle)) }
          //
          if (isCmd && !isGroupMsg) {console.log(color('[EXEC]'), color(moment(t * 1000).format('DD/MM/YY HH:mm:ss'), 'yellow'), color(`${command} [${args.length}]`), 'from', color(pushname))}
          if (isCmd && isGroupMsg) {console.log(color('[EXEC]'), color(moment(t * 1000).format('DD/MM/YY HH:mm:ss'), 'yellow'), color(`${command} [${args.length}]`), 'from', color(pushname), 'in', color(name || formattedTitle))}
  
          // [BETA] Avoid Spam Message
          addFilter(from)
          if (isMuted(chatId) && banChat() && !isBlocked && !isBanned || isOwner ) {
          switch(command) {
  
          case '#banchat':
              if (setting.banChats === true) return
              if (!isOwner) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan oleh Owner REV!', id)
              setting.banChats = true
              banChats = true
              fs.writeFileSync('./lib/database/setting.json', JSON.stringify(setting, null, 2))
              tobz.reply('Global chat has been enable!')
              break
  
          case '#unmute':
              console.log(`Unmuted ${name}!`)
              await tobz.sendSeen(from)
              break
          case '#unbanchat':
              console.log(`Banchat ${name}!`)
              await tobz.sendSeen(from)
              break
          case '#sticker':
          case '#stiker':
              if (isMedia && type === 'image') {
                  const mediaData = await decryptMedia(message, uaOverride)
                  const imageBase64 = `data:${mimetype};base64,${mediaData.toString('base64')}`
                  await tobz.sendImageAsSticker(from, imageBase64)
              } else if (quotedMsg && quotedMsg.type == 'image') {
                  const mediaData = await decryptMedia(quotedMsg, uaOverride)
                  const imageBase64 = `data:${quotedMsg.mimetype};base64,${mediaData.toString('base64')}`
                  await tobz.sendImageAsSticker(from, imageBase64)
              } else if (args.length === 2) {
                  const url = args[1]
                  if (url.match(isUrl)) {
                      await tobz.sendStickerfromUrl(from, url, { method: 'get' })
                          .catch(err => console.log('Caught exception: ', err))
                  } else {
                      tobz.reply(from, mess.error.Iv, id)
                  }
              } else {
                      tobz.reply(from, mess.error.St, id)
              }
              break
          case '#ttp':
                  if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', message.id)
                  try
                  {
                      const string = body.toLowerCase().includes('#ttp') ? body.slice(5) : body.slice(5)
                      if(args)
                      {
                          if(quotedMsgObj == null)
                          {
                              const gasMake = await getStickerMaker(string)
                              if(gasMake.status == true)
                              {
                                  try{
                                      await tobz.sendImageAsSticker(from, gasMake.base64)
                                  }catch(err) {
                                      await tobz.reply(from, 'Gagal membuat.', id)
                                  } 
                              }else{
                                  await tobz.reply(from, gasMake.reason, id)
                              }
                          }else if(quotedMsgObj != null){
                              const gasMake = await getStickerMaker(quotedMsgObj.body)
                              if(gasMake.status == true)
                              {
                                  try{
                                      await tobz.sendImageAsSticker(from, gasMake.base64)
                                  }catch(err) {
                                      await tobz.reply(from, 'Gagal membuat.', id)
                                  } 
                              }else{
                                  await tobz.reply(from, gasMake.reason, id)
                              }
                          }
                         
                      }else{
                          await tobz.reply(from, 'Tidak boleh kosong.', id)
                      }
                  }catch(error)
                  {
                      console.log(error)
                  }
              break;
          case '#ttg':
              if (!isGroupMsg) return tobz.reply(from, `Perintah ini hanya bisa di gunakan dalam group!`, id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              try {
                  if (quotedMsgObj == null) {
                      if (args.length === 1) return tobz.reply(from, `Kirim perintah *#ttg [ Teks ]*, contoh *#ttg aku bukan boneka*`, id)
                          await tobz.sendStickerfromUrl(from, `https://api.vhtear.com/textxgif?text=${body.slice(5)}&apikey=${vhtearkey}`)
                          limitAdd(serial)
                  } else {
                      await tobz.sendStickerfromUrl(from, `https://api.vhtear.com/textxgif?text=${quotedMsgObj}&apikey=${vhtearkey}`)
                      limitAdd(serial)
                  }
              } catch(e) {
                  console.log(e)
                  tobz.reply(from, 'Maaf, Server sedang Error')
              }
              break
          case '#stickergif': // INSTALL FFMPEG, IF YOU WANT THIS COMMAND WORK!
          case '#stikergif': // TUTORIAL IN README, PLEASE READ!
          case '#sgif': // MRHRTZ
              tobz.reply(from, `[WAIT] Sedang di proses⏳ silahkan tunggu ± 1 min!`, id)
              if (isMedia && type === 'video' || mimetype === 'image/gif') {
                  try {
                      const mediaData = await decryptMedia(message, uaOverride)
                      await tobz.sendMp4AsSticker(from, mediaData, {fps: 10, startTime: `00:00:00.0`, endTime : `00:00:05.0`,loop: 0})
                  } catch (e) {
                      tobz.reply(from, `Size media terlalu besar! mohon kurangi durasi video.`)
                  }
              } else if (quotedMsg && quotedMsg.type == 'video' || quotedMsg && quotedMsg.mimetype == 'image/gif') {
                  const mediaData = await decryptMedia(quotedMsg, uaOverride)
                  await tobz.sendMp4AsSticker(from, mediaData, {fps: 10, startTime: `00:00:00.0`, endTime : `00:00:05.0`,loop: 0})
              } else {
                  tobz.reply(from, `Kesalahan ⚠️ Hanya bisa video/gif apabila file media berbentuk gambar ketik #stickergif`, id)
              } 
              break
          case '#stickerlightning':
          case '#slightning':
               tobz.reply(from, `[WAIT] Sedang di proses⏳ silahkan tunggu ± 1 min!`, id)
              if (isMedia && type === 'image') {
                  const mediaData = await decryptMedia(message, uaOverride)
                  const getUrle = await uploadImages(mediaData, false)
                  const imgnye = await stickerlight(getUrle)
                  const Slight = imgnye.result.imgUrl
                  await tobz.sendStickerfromUrl(from, Slight)
              } else if (quotedMsg && quotedMsg.type == 'image') {
                  const mediaData = await decryptMedia(quotedMsg, uaOverride)
                  const getUrle = await uploadImages(mediaData, false)
                  const imgnye = await stickerlight(getUrle)
                  const Slight = imgnye.result.imgUrl
                  await tobz.sendStickerfromUrl(from, Slight)
              } else {
                  await tobz.reply(from, `Wrong Format!\n⚠️ Harap Kirim Gambar Dengan #stickerlightning`, id)
              }
              break
          case '#stickerfire':
          case '#sfire':
              tobz.reply(from, `[WAIT] Sedang di proses⏳ silahkan tunggu ± 1 min!`, id)
              if (isMedia && type === 'image') {
                  const mediaData = await decryptMedia(message, uaOverride)
                  const getUrli = await uploadImages(mediaData, false)
                  const imgnya = await stickerburn(getUrli)
                  const Sfire = imgnya.result.imgUrl
                  await tobz.sendStickerfromUrl(from, Sfire)
              } else if (quotedMsg && quotedMsg.type == 'image') {
                  const mediaData = await decryptMedia(quotedMsg, uaOverride)
                  const getUrli = await uploadImages(mediaData, false)
                  const imgnya = await stickerburn(getUrli)
                  const Sfire = imgnya.result.imgUrl
                  await tobz.sendStickerfromUrl(from, Sfire)
              } else {
                  await tobz.reply(from, `Wrong Format!\n⚠️ Harap Kirim Gambar Dengan #stickerfire`, id)
              }
              break
          case '#groupinfo' :
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', message.id)
              isMuted(chatId) == false
              var totalMem = chat.groupMetadata.participants.length
              var desc = chat.groupMetadata.desc
              var groupname = name
              var welgrp = welkom.includes(chat.id)
              var leftgrp = left.includes(chat.id)
              var ngrp = nsfw_.includes(chat.id)
              var simu = simi_.includes(chat.id)
              var grouppic = await tobz.getProfilePicFromServer(chat.id)
              if (grouppic == undefined) {
                   var pfp = errorurl
              } else {
                   var pfp = grouppic 
              }
              await tobz.sendFileFromUrl(from, pfp, 'group.png', `➸ *Name : ${groupname}* 
  *➸ Members : ${totalMem}*
  *➸ Welcome : ${welgrp}*
  *➸ Left : ${leftgrp}*
  *➸ NSFW : ${ngrp}*
  *➸ Simsimi : ${simu}*
  *➸ Group Description* 
  ${desc}`)
              break
          case '#quoterandom' :
          case '#quote' :
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              tobz.sendText(from, quotedd())
              break
          case '#tts':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              try {
                  if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#tts [ Bahasa ] [ Teks ]*, contoh *#tts id halo semua*')
                  var dataBhs = args[1]      
                  const ttsHZ = require('node-gtts')(dataBhs)
                  var dataText = body.slice(8)
                  if (dataText === '') return tobz.reply(from, 'Masukkan teksnya', id)
                  if (dataText.length > 500) return client.reply(from, 'Teks terlalu panjang!', id)
                  var dataBhs = body.slice(5, 7)
                  ttsHZ.save('./media/tts.mp3', dataText, function () {
                  tobz.sendPtt(from, './media/tts.mp3', id)
                  })
              } catch (err){
                  console.log(err)
                  tobz.reply(from, bahasa_list, id)
              }
              break
          case '#koin':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              const side = Math.floor(Math.random() * 2) + 1
              if (side == 1) {
                tobz.sendStickerfromUrl(from, 'https://i.ibb.co/YTWZrZV/2003-indonesia-500-rupiah-copy.png', { method: 'get' })
              } else {
                tobz.sendStickerfromUrl(from, 'https://i.ibb.co/bLsRM2P/2003-indonesia-500-rupiah-copy-1.png', { method: 'get' })
              }
              break
          case '#dadu':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              const dice = Math.floor(Math.random() * 6) + 1
              await tobz.sendStickerfromUrl(from, 'https://www.random.org/dice/dice' + dice + '.png', { method: 'get' })
              break
          case '#kapankah':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              const when = args.join(' ')
              const ans = kapankah[Math.floor(Math.random() * (kapankah.length))]
              if (!when) tobz.reply(from, '⚠️ Format salah! Ketik *#menu* untuk penggunaan.')
              await tobz.sendText(from, `Pertanyaan: *${when}* \n\nJawaban: ${ans}`)
              break
          case '#nilai':
          case '#rate':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              const rating = args.join(' ')
              const awr = rate[Math.floor(Math.random() * (rate.length))]
              if (!rating) tobz.reply(from, '⚠️ Format salah! Ketik *#menu* untuk penggunaan.')
              await tobz.sendText(from, `Pertanyaan: *${rating}* \n\nJawaban: ${awr}`)
              break
          case '#apakah':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              const nanya = args.join(' ')
              const jawab = apakah[Math.floor(Math.random() * (apakah.length))]
              if (!nanya) tobz.reply(from, '⚠️ Format salah! Ketik *#menu* untuk penggunaan.')
              await tobz.sendText(from, `Pertanyaan: *${nanya}* \n\nJawaban: ${jawab}`)
              break
           case '#bisakah':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              const bsk = args.join(' ')
              const jbsk = bisakah[Math.floor(Math.random() * (bisakah.length))]
              if (!bsk) tobz.reply(from, '⚠️ Format salah! Ketik *#menu* untuk penggunaan.')
              await tobz.sendText(from, `Pertanyaan: *${bsk}* \n\nJawaban: ${jbsk}`)
              break
          case '#owner':
          case '#creator':
              tobz.sendContact(chatId, `6283164445159@c.us`)
              tobz.reply(from, 'Itu nomor Owner Ku', id)
              break
          // ON OFF
          case '#nsfw':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (!isGroupAdmins) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan oleh Admin group!', id)
              if (args.length === 1) return tobz.reply(from, 'Pilih enable atau disable!', id)
              if (args[1].toLowerCase() === 'enable') {
                  nsfw_.push(chat.id)
                  fs.writeFileSync('./lib/database/nsfwz.json', JSON.stringify(nsfw_))
                  tobz.reply(from, 'NSFW berhasil di aktifkan di group ini! kirim perintah *#nsfwMenu* untuk mengetahui menu', id)
              } else if (args[1].toLowerCase() === 'disable') {
                  nsfw_.splice(chat.id, 1)
                  fs.writeFileSync('./lib/database/nsfwz.json', JSON.stringify(nsfw_))
                  tobz.reply(from, 'NSFW berhasil di nonaktifkan di group ini!', id)
              } else {
                  tobz.reply(from, 'Pilih enable atau disable Cok!', id)
              }
              break
          case '#simi':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (!isAdmin) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan oleh Admin REV!', id) // Hanya Admin yang bisa mengaktifkan
              if (args.length === 1) return tobz.reply(from, 'Pilih enable atau disable!', id)
              if (args[1].toLowerCase() === 'enable') {
                  simi_.push(chat.id)
                  fs.writeFileSync('./lib/database/Simsimi.json', JSON.stringify(simi_))
                  tobz.reply(from, 'Simsimi berhasil di aktifkan di group ini! Kirim perintah *# [teks]*\nContoh : *# halo*', id)
              } else if (args[1].toLowerCase() === 'disable') {
                  simi_.splice(chat.id, 1)
                  fs.writeFileSync('./lib/database/Simsimi.json', JSON.stringify(simi_))
                  tobz.reply(from, 'Simsimi berhasil di nonaktifkan di group ini!', id)
              } else {
                  tobz.reply(from, 'Pilih enable atau disable Cok!', id)
              }
              break
          case '#group':
              if (!isGroupMsg) return tobz.reply(from, 'Fitur ini hanya bisa di gunakan dalam group', id)
              if (!isGroupAdmins) return tobz.reply(from, 'Fitur ini hanya bisa di gunakan oleh admin group', id)
              if (!isBotGroupAdmins) return tobz.reply(from, 'Fitur ini hanya bisa di gunakan ketika bot menjadi admin', id)
              if (args.length === 1) return tobz.reply(from, 'Pilih open atau close!', id)
              if (args[1].toLowerCase() === 'open') {
                  tobz.setGroupToAdminsOnly(groupId, false)
                  tobz.sendTextWithMentions(from, `Group telah dibuka oleh admin @${sender.id.replace('@c.us','')}\nSekarang *semua member* dapat mengirim pesan`)
              } else if (args[1].toLowerCase() === 'close') {
                  tobz.setGroupToAdminsOnly(groupId, true)
                  tobz.sendTextWithMentions(from, `Group telah ditutup oleh admin @${sender.id.replace('@c.us','')}\nSekarang *hanya admin* yang dapat mengirim pesan`)
              } else {
                  tobz.reply(from, 'Pilih open atau disable close!', id)
              }
              break
          case '#left':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (!isGroupAdmins) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan oleh Admin group!', id)
              if (args.length === 1) return tobz.reply(from, 'Pilih enable atau disable!', id)
              if (args[1].toLowerCase() === 'enable') {
                  left.push(chat.id)
                  fs.writeFileSync('./lib/database/left.json', JSON.stringify(left))
                  tobz.reply(from, 'Fitur left berhasil di aktifkan di group ini!', id)
              } else if (args[1].toLowerCase() === 'disable') {
                  left.splice(chat.id, 1)
                  fs.writeFileSync('./lib/database/left.json', JSON.stringify(left))
                  tobz.reply(from, 'Fitur left berhasil di nonaktifkan di group ini!', id)
              } else {
                  tobz.reply(from, 'Pilih enable atau disable Cok!', id)
              }
              break
          case '#welcome':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (!isGroupAdmins) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan oleh Admin group!', id)
              if (args.length === 1) return tobz.reply(from, 'Pilih enable atau disable!', id)
              if (args[1].toLowerCase() === 'enable') {
                  welkom.push(chat.id)
                  fs.writeFileSync('./lib/database/welcome.json', JSON.stringify(welkom))
                  tobz.reply(from, 'Fitur welcome berhasil di aktifkan di group ini!', id)
              } else if (args[1].toLowerCase() === 'disable') {
                  welkom.splice(chat.id, 1)
                  fs.writeFileSync('./lib/database/welcome.json', JSON.stringify(welkom))
                  tobz.reply(from, 'Fitur welcome berhasil di nonaktifkan di group ini!', id)
              } else {
                  tobz.reply(from, 'Pilih enable atau disable Cok!', id)
              }
              break
          // ANIME //
          case '#otakudesu':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#otakudesu [query]*\nContoh : *#otakudesu darling in the franxx*', id)
              const animes = await axios.get('https://mhankbarbar.herokuapp.com/api/otakudesu?q=' + body.slice(7) + '&apiKey=' + barbarkey)
              if (animes.data.error) return tobz.reply(from, animes.data.error, id)
              const res_animes = `${animes.data.title}\n\n${animes.data.info}\n\n${animes.data.sinopsis}`
              tobz.sendFileFromUrl(from, animes.data.thumb, 'otakudesu.jpg', res_animes, id)
              break
          case '#kusonime':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#kusonime [query]*\nContoh : *#kusonime darling in the franxx*', id)
              const animeq = await axios.get('https://mhankbarbar.herokuapp.com/api/kuso?q=' + body.slice(7) + '&apiKey=' + barbarkey)
              if (animeq.data.error) return tobz.reply(from, animeq.data.error, id)
              const res_animeq = `${animeq.data.title}\n\n${animeq.data.info}\n\n${animeq.data.sinopsis}\n\n${animeq.data.link_dl}`
              tobz.sendFileFromUrl(from, animeq.data.thumb, 'kusonime.jpg', res_animeq, id)
              break
          case '#dewabatch':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#dewabatch [query]*\nContoh : *#dewabatch darling in the franxx*', id)
              const animek = await axios.get('https://mhankbarbar.herokuapp.com/api/dewabatch?q=' + body.slice(7) + '&apiKey=' + barbarkey)
              if (animek.data.error) return tobz.reply(from, animek.data.error, id)
              const res_animek = `${animek.data.result}\n\n${animek.data.sinopsis}`
              tobz.sendFileFromUrl(from, animek.data.thumb, 'dewabatch.jpg', res_animek, id)
              break
          case '#komiku':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#komiku [query]*\nContoh : *#komiku darling in the franxx*', id)
              const animep = await axios.get('https://mhankbarbar.herokuapp.com/api/komiku?q=' + body.slice(7) + '&apiKey=' + barbarkey)
              if (animep.data.error) return tobz.reply(from, animep.data.error, id)
              const res_animep = `${animep.data.info}\n\n${animep.data.sinopsis}\n\n${animep.data.link_dl}`
              tobz.sendFileFromUrl(from, animep.data.thumb, 'komiku.jpg', res_animep, id)
              break
          case '#pinterest':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#pinterest [query]*\nContoh : *#pinterest REV*', id)
              const ptrsq = body.slice(11)
              const ptrs = await axios.get('https://api.fdci.se/rep.php?gambar='+ptrsq)
              const b = JSON.parse(JSON.stringify(ptrs.data))
              const ptrs2 =  b[Math.floor(Math.random() * b.length)]
              const image = await bent("buffer")(ptrs2)
              const base64 = `data:image/jpg;base64,${image.toString("base64")}`
              tobz.sendImage(from, base64, 'ptrs.jpg', `*Pinterest*\n\n*Hasil Pencarian : ${ptrsq}*`)
              break
          case '#nhview':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#nhview [212121]*\nContoh : *#nhview 321421*', id)
              const nhsh = body.slice(11)
              const nhsh2 = await axios.get('https://mnazria.herokuapp.com/api/nhentai?code='+nhsh)
              for (let i = 0; i < nhsh2.length; i++) {
                  await tobz.sendImage(from, nhsh2[i].data, 'thumbserc.jpg', '', id)
                  }
              break
          case '#loli':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              const loli = await axios.get(`https://api.vhtear.com/randomloli&apikey=${vhtearkey}`)
              const loly = loli.data.result
              tobz.sendFileFromUrl(from, loly.result, 'loli.jpeg', '*LOLI*', id)
              break
          case '#shota':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              const imageToBase64 = require('image-to-base64')
              var shouta = ['shota anime','anime shota'];
              var shotaa = shouta[Math.floor(Math.random() * shouta.length)];
              var urlshot = "https://api.fdci.se/rep.php?gambar=" + shotaa;
              
              axios.get(urlshot)
              .then((result) => {
              var sht = JSON.parse(JSON.stringify(result.data));
              var shotaak =  sht[Math.floor(Math.random() * sht.length)];
              imageToBase64(shotaak)
              .then(
                  (response) => {
              let img = 'data:image/jpeg;base64,'+response
              tobz.sendFile(from, img, "shota.jpg", `*SHOTA*`, id)
                      }) 
                  .catch(
                      (error) => {
                          console.log(error);
                      })
              })
              break
          case '#waifu':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              const waifu = await axios.get('https://mhankbarbar.herokuapp.com/api/waifu' + '?apiKey=' + barbarkey)
              tobz.sendFileFromUrl(from, waifu.data.image, 'Waifu.jpg', `➸ Name : ${waifu.data.name}\n➸ Description : ${waifu.data.desc}\n\n➸ Source : ${waifu.data.source}`, id)
              break
          case '#husbu':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              const diti = fs.readFileSync('./lib/database/husbu.json')
              const ditiJsin = JSON.parse(diti)
              const rindIndix = Math.floor(Math.random() * ditiJsin.length)
              const rindKiy = ditiJsin[rindIndix]
              tobz.sendFileFromUrl(from, rindKiy.image, 'Husbu.jpg', rindKiy.teks, id)
              break
          case '#randomnekonime':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              const nekonime = await axios.get(`https://api.vhtear.com/randomnekonime&apikey=${vhtearkey}`)
              const nekon = nekonime.data
              if (nekon.result.endsWith('.png')) {
                  var ext = '.png'
              } else {
                  var ext = '.jpg'
              }
              tobz.sendFileFromUrl(from, nekon.result, `Nekonime${ext}`, 'Nekonime!', id)
              break
          case '#randomtrapnime':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (!isNsfw) return tobz.reply(from, 'command/Perintah NSFW belum di aktifkan di group ini!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              const trapnime = await axios.get('https://mhankbarbar.herokuapp.com/api/random/trap')
              const trapn = trapnime.data.result
              if (trapn.result.endsWith('.png')) {
                  var ext = '.png'
              } else {
                  var ext = '.jpg'
              }
              tobz.sendImage(from, trapn.result, `trapnime${ext}`, 'Trapnime!', id)
              break
          case '#randomhentai':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (!isNsfw) return tobz.reply(from, 'command/Perintah NSFW belum di aktifkan di group ini!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              const hentai = await axios.get(`https://api.vhtear.com/randomhentai?apikey=${vhtearkey}`)
              const henta = hentai.data.result
              if (henta.url.endsWith('.png')) {
                  var ext = '.png'
              } else {
                  var ext = '.jpg'
              }
              tobz.sendImage(from, henta.result, `RandomHentai${ext}`, 'Random Hentai!', id)
              break
          case '#randomnsfwneko':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (!isNsfw) return tobz.reply(from, 'command/Perintah NSFW belum di aktifkan di group ini!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              const nsfwneko = await axios.get('https://mhankbarbar.herokuapp.com/api/random/nsfwneko')
              const nsfwn = nsfwneko.data
              if (nsfwn.result.endsWith('.png')) {
                  var ext = '.png'
              } else {
                  var ext = '.jpg'
              }
              tobz.sendImage(from, nsfwn.result, `NsfwNeko${ext}`, 'NsfwNeko!', id)
              break
          case '#randomanime':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              const ranime = await axios.get('https://api.computerfreaker.cf/v1/anime')
              const ranimen = ranime.data
              if (ranimen.url.endsWith('.png')) {
                  var ext = '.png'
              } else {
                  var ext = '.jpg'
              }
              tobz.sendFileFromUrl(from, ranime.url, `RandomAnime${ext}`, 'Random Anime!', id)
              break
          case '#subreddit':
              arg = body.trim().split(' ')
              const sr = arg[1]
              try {
              const response1 = await axios.get('https://meme-api.herokuapp.com/gimme/' + sr + '/');
              const { postLink, title, subreddit, url, nsfw, spoiler } = response1.data
                  if (nsfw == true) {
                      if ((isGroupMsg) && (isNsfw)) {
                          await tobz.sendFileFromUrl(from, `${url}`, 'Reddit.jpg', `*Title*: ${title}` + '\n\n*Postlink*:' + `${postLink}`)
                      } else if ((isGroupMsg) && (!isNsfw)) {
                          await tobz.reply(from, `Nsfw belum diaktifkan di Grup *${name}*`, id)
                      }
                  } else { 
                      await tobz.sendFileFromUrl(from, `${url}`, 'Reddit.jpg', `*Title*: ${title}` + '\n\n*Postlink*:' + `${postLink}`)
                  }
              } catch(err) {
                  await tobz.sendFileFromUrl(from, errorurl, id) 
              }
              break
          case '#nhder':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (!isNsfw) return tobz.reply(from, 'command/Perintah NSFW belum di aktifkan di group ini!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length >=2){
                  const code = args[1]
                  const url = 'https://nhder.herokuapp.com/download/nhentai/'+code+'/zip'
                  const short = []
                  const shortener = await urlShortener(url)
                  url['short'] = shortener
                  short.push(url)
                  const caption = `*NEKOPOI DOWNLOADER*\n\nLink: ${shortener}`
                  tobz.sendText(from, caption)
              } else {
                  tobz.sendText(from, 'Maaf tolong masukan code nuclear')
              }
              break
          /*case '#wallanime' :
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              const walnime = ['https://wallpaperaccess.com/full/395986.jpg','https://wallpaperaccess.com/full/21628.jpg','https://wallpaperaccess.com/full/21622.jpg','https://wallpaperaccess.com/full/21612.jpg','https://wallpaperaccess.com/full/21611.png','https://wallpaperaccess.com/full/21597.jpg','https://cdn.nekos.life/wallpaper/QwGLg4oFkfY.png','https://wallpaperaccess.com/full/21591.jpg','https://cdn.nekos.life/wallpaper/bUzSjcYxZxQ.jpg','https://cdn.nekos.life/wallpaper/j49zxzaUcjQ.jpg','https://cdn.nekos.life/wallpaper/YLTH5KuvGX8.png','https://cdn.nekos.life/wallpaper/Xi6Edg133m8.jpg','https://cdn.nekos.life/wallpaper/qvahUaFIgUY.png','https://cdn.nekos.life/wallpaper/leC8q3u8BSk.jpg','https://cdn.nekos.life/wallpaper/tSUw8s04Zy0.jpg','https://cdn.nekos.life/wallpaper/sqsj3sS6EJE.png','https://cdn.nekos.life/wallpaper/HmjdX_s4PU4.png','https://cdn.nekos.life/wallpaper/Oe2lKgLqEXY.jpg','https://cdn.nekos.life/wallpaper/GTwbUYI-xTc.jpg','https://cdn.nekos.life/wallpaper/nn_nA8wTeP0.png','https://cdn.nekos.life/wallpaper/Q63o6v-UUa8.png','https://cdn.nekos.life/wallpaper/ZXLFm05K16Q.jpg','https://cdn.nekos.life/wallpaper/cwl_1tuUPuQ.png','https://cdn.nekos.life/wallpaper/wWhtfdbfAgM.jpg','https://cdn.nekos.life/wallpaper/3pj0Xy84cPg.jpg','https://cdn.nekos.life/wallpaper/sBoo8_j3fkI.jpg','https://cdn.nekos.life/wallpaper/gCUl_TVizsY.png','https://cdn.nekos.life/wallpaper/LmTi1k9REW8.jpg','https://cdn.nekos.life/wallpaper/sbq_4WW2PUM.jpg','https://cdn.nekos.life/wallpaper/QOSUXEbzDQA.png','https://cdn.nekos.life/wallpaper/khaqGIHsiqk.jpg','https://cdn.nekos.life/wallpaper/iFtEXugqQgA.png','https://cdn.nekos.life/wallpaper/deFKIDdRe1I.jpg','https://cdn.nekos.life/wallpaper/OHZVtvDm0gk.jpg','https://cdn.nekos.life/wallpaper/YZYa00Hp2mk.jpg','https://cdn.nekos.life/wallpaper/R8nPIKQKo9g.png','https://cdn.nekos.life/wallpaper/_brn3qpRBEE.jpg','https://cdn.nekos.life/wallpaper/ADTEQdaHhFI.png','https://cdn.nekos.life/wallpaper/MGvWl6om-Fw.jpg','https://cdn.nekos.life/wallpaper/YGmpjZW3AoQ.jpg','https://cdn.nekos.life/wallpaper/hNCgoY-mQPI.jpg','https://cdn.nekos.life/wallpaper/3db40hylKs8.png','https://cdn.nekos.life/wallpaper/iQ2FSo5nCF8.jpg','https://cdn.nekos.life/wallpaper/meaSEfeq9QM.png','https://cdn.nekos.life/wallpaper/CmEmn79xnZU.jpg','https://cdn.nekos.life/wallpaper/MAL18nB-yBI.jpg','https://cdn.nekos.life/wallpaper/FUuBi2xODuI.jpg','https://cdn.nekos.life/wallpaper/ez-vNNuk6Ck.jpg','https://cdn.nekos.life/wallpaper/K4-z0Bc0Vpc.jpg','https://cdn.nekos.life/wallpaper/Y4JMbswrNg8.jpg','https://cdn.nekos.life/wallpaper/ffbPXIxt4-0.png','https://cdn.nekos.life/wallpaper/x63h_W8KFL8.jpg','https://cdn.nekos.life/wallpaper/lktzjDRhWyg.jpg','https://cdn.nekos.life/wallpaper/j7oQtvRZBOI.jpg','https://cdn.nekos.life/wallpaper/MQQEAD7TUpQ.png','https://cdn.nekos.life/wallpaper/lEG1-Eeva6Y.png','https://cdn.nekos.life/wallpaper/Loh5wf0O5Aw.png','https://cdn.nekos.life/wallpaper/yO6ioREenLA.png','https://cdn.nekos.life/wallpaper/4vKWTVgMNDc.jpg','https://cdn.nekos.life/wallpaper/Yk22OErU8eg.png','https://cdn.nekos.life/wallpaper/Y5uf1hsnufE.png','https://cdn.nekos.life/wallpaper/xAmBpMUd2Zw.jpg','https://cdn.nekos.life/wallpaper/f_RWFoWciRE.jpg','https://cdn.nekos.life/wallpaper/Y9qjP2Y__PA.jpg','https://cdn.nekos.life/wallpaper/eqEzgohpPwc.jpg','https://cdn.nekos.life/wallpaper/s1MBos_ZGWo.jpg','https://cdn.nekos.life/wallpaper/PtW0or_Pa9c.png','https://cdn.nekos.life/wallpaper/32EAswpy3M8.png','https://cdn.nekos.life/wallpaper/Z6eJZf5xhcE.png','https://cdn.nekos.life/wallpaper/xdiSF731IFY.jpg','https://cdn.nekos.life/wallpaper/Y9r9trNYadY.png','https://cdn.nekos.life/wallpaper/8bH8CXn-sOg.jpg','https://cdn.nekos.life/wallpaper/a02DmIFzRBE.png','https://cdn.nekos.life/wallpaper/MnrbXcPa7Oo.png','https://cdn.nekos.life/wallpaper/s1Tc9xnugDk.jpg','https://cdn.nekos.life/wallpaper/zRqEx2gnfmg.jpg','https://cdn.nekos.life/wallpaper/PtW0or_Pa9c.png','https://cdn.nekos.life/wallpaper/0ECCRW9soHM.jpg','https://cdn.nekos.life/wallpaper/kAw8QHl_wbM.jpg','https://cdn.nekos.life/wallpaper/ZXcaFmpOlLk.jpg','https://cdn.nekos.life/wallpaper/WVEdi9Ng8UE.png','https://cdn.nekos.life/wallpaper/IRu29rNgcYU.png','https://cdn.nekos.life/wallpaper/LgIJ_1AL3rM.jpg','https://cdn.nekos.life/wallpaper/DVD5_fLJEZA.jpg','https://cdn.nekos.life/wallpaper/siqOQ7k8qqk.jpg','https://cdn.nekos.life/wallpaper/CXNX_15eGEQ.png','https://cdn.nekos.life/wallpaper/s62tGjOTHnk.jpg','https://cdn.nekos.life/wallpaper/tmQ5ce6EfJE.png','https://cdn.nekos.life/wallpaper/Zju7qlBMcQ4.jpg','https://cdn.nekos.life/wallpaper/CPOc_bMAh2Q.png','https://cdn.nekos.life/wallpaper/Ew57S1KtqsY.jpg','https://cdn.nekos.life/wallpaper/hVpFbYJmZZc.jpg','https://cdn.nekos.life/wallpaper/sb9_J28pftY.jpg','https://cdn.nekos.life/wallpaper/JDoIi_IOB04.jpg','https://cdn.nekos.life/wallpaper/rG76AaUZXzk.jpg','https://cdn.nekos.life/wallpaper/9ru2luBo360.png','https://cdn.nekos.life/wallpaper/ghCgiWFxGwY.png','https://cdn.nekos.life/wallpaper/OSR-i-Rh7ZY.png','https://cdn.nekos.life/wallpaper/65VgtPyweCc.jpg','https://cdn.nekos.life/wallpaper/3vn-0FkNSbM.jpg','https://cdn.nekos.life/wallpaper/u02Y0-AJPL0.jpg','https://cdn.nekos.life/wallpaper/_-Z-0fGflRc.jpg','https://cdn.nekos.life/wallpaper/3VjNKqEPp58.jpg','https://cdn.nekos.life/wallpaper/NoG4lKnk6Sc.jpg','https://cdn.nekos.life/wallpaper/xiTxgRMA_IA.jpg','https://cdn.nekos.life/wallpaper/yq1ZswdOGpg.png','https://cdn.nekos.life/wallpaper/4SUxw4M3UMA.png','https://cdn.nekos.life/wallpaper/cUPnQOHNLg0.jpg','https://cdn.nekos.life/wallpaper/zczjuLWRisA.jpg','https://cdn.nekos.life/wallpaper/TcxvU_diaC0.png','https://cdn.nekos.life/wallpaper/7qqWhEF_uoY.jpg','https://cdn.nekos.life/wallpaper/J4t_7DvoUZw.jpg','https://cdn.nekos.life/wallpaper/xQ1Pg5D6J4U.jpg','https://cdn.nekos.life/wallpaper/aIMK5Ir4xho.jpg','https://cdn.nekos.life/wallpaper/6gneEXrNAWU.jpg','https://cdn.nekos.life/wallpaper/PSvNdoISWF8.jpg','https://cdn.nekos.life/wallpaper/SjgF2-iOmV8.jpg','https://cdn.nekos.life/wallpaper/vU54ikOVY98.jpg','https://cdn.nekos.life/wallpaper/QjnfRwkRU-Q.jpg','https://cdn.nekos.life/wallpaper/uSKqzz6ZdXc.png','https://cdn.nekos.life/wallpaper/AMrcxZOnVBE.jpg','https://cdn.nekos.life/wallpaper/N1l8SCMxamE.jpg','https://cdn.nekos.life/wallpaper/n2cBaTo-J50.png','https://cdn.nekos.life/wallpaper/ZXcaFmpOlLk.jpg','https://cdn.nekos.life/wallpaper/7bwxy3elI7o.png','https://cdn.nekos.life/wallpaper/7VW4HwF6LcM.jpg','https://cdn.nekos.life/wallpaper/YtrPAWul1Ug.png','https://cdn.nekos.life/wallpaper/1p4_Mmq95Ro.jpg','https://cdn.nekos.life/wallpaper/EY5qz5iebJw.png','https://cdn.nekos.life/wallpaper/aVDS6iEAIfw.jpg','https://cdn.nekos.life/wallpaper/veg_xpHQfjE.jpg','https://cdn.nekos.life/wallpaper/meaSEfeq9QM.png','https://cdn.nekos.life/wallpaper/Xa_GtsKsy-s.png','https://cdn.nekos.life/wallpaper/6Bx8R6D75eM.png','https://cdn.nekos.life/wallpaper/zXOGXH_b8VY.png','https://cdn.nekos.life/wallpaper/VQcviMxoQ00.png','https://cdn.nekos.life/wallpaper/CJnRl-PKWe8.png','https://cdn.nekos.life/wallpaper/zEWYfFL_Ero.png','https://cdn.nekos.life/wallpaper/_C9Uc5MPaz4.png','https://cdn.nekos.life/wallpaper/zskxNqNXyG0.jpg','https://cdn.nekos.life/wallpaper/g7w14PjzzcQ.jpg','https://cdn.nekos.life/wallpaper/KavYXR_GRB4.jpg','https://cdn.nekos.life/wallpaper/Z_r9WItzJBc.jpg','https://cdn.nekos.life/wallpaper/Qps-0JD6834.jpg','https://cdn.nekos.life/wallpaper/Ri3CiJIJ6M8.png','https://cdn.nekos.life/wallpaper/ArGYIpJwehY.jpg','https://cdn.nekos.life/wallpaper/uqYKeYM5h8w.jpg','https://cdn.nekos.life/wallpaper/h9cahfuKsRg.jpg','https://cdn.nekos.life/wallpaper/iNPWKO8d2a4.jpg','https://cdn.nekos.life/wallpaper/j2KoFVhsNig.jpg','https://cdn.nekos.life/wallpaper/z5Nc-aS6QJ4.jpg','https://cdn.nekos.life/wallpaper/VUFoK8l1qs0.png','https://cdn.nekos.life/wallpaper/rQ8eYh5mXN8.png','https://cdn.nekos.life/wallpaper/D3NxNISDavQ.png','https://cdn.nekos.life/wallpaper/Z_CiozIenrU.jpg','https://cdn.nekos.life/wallpaper/np8rpfZflWE.jpg','https://cdn.nekos.life/wallpaper/ED-fgS09gik.jpg','https://cdn.nekos.life/wallpaper/AB0Cwfs1X2w.jpg','https://cdn.nekos.life/wallpaper/DZBcYfHouiI.jpg','https://cdn.nekos.life/wallpaper/lC7pB-GRAcQ.png','https://cdn.nekos.life/wallpaper/zrI-sBSt2zE.png','https://cdn.nekos.life/wallpaper/_RJhylwaCLk.jpg','https://cdn.nekos.life/wallpaper/6km5m_GGIuw.png','https://cdn.nekos.life/wallpaper/3db40hylKs8.png','https://cdn.nekos.life/wallpaper/oggceF06ONQ.jpg','https://cdn.nekos.life/wallpaper/ELdH2W5pQGo.jpg','https://cdn.nekos.life/wallpaper/Zun_n5pTMRE.png','https://cdn.nekos.life/wallpaper/VqhFKG5U15c.png','https://cdn.nekos.life/wallpaper/NsMoiW8JZ60.jpg','https://cdn.nekos.life/wallpaper/XE4iXbw__Us.png','https://cdn.nekos.life/wallpaper/a9yXhS2zbhU.jpg','https://cdn.nekos.life/wallpaper/jjnd31_3Ic8.jpg','https://cdn.nekos.life/wallpaper/Nxanxa-xO3s.png','https://cdn.nekos.life/wallpaper/dBHlPcbuDc4.jpg','https://cdn.nekos.life/wallpaper/6wUZIavGVQU.jpg','https://cdn.nekos.life/wallpaper/_-Z-0fGflRc.jpg','https://cdn.nekos.life/wallpaper/H9OUpIrF4gU.jpg','https://cdn.nekos.life/wallpaper/xlRdH3fBMz4.jpg','https://cdn.nekos.life/wallpaper/7IzUIeaae9o.jpg','https://cdn.nekos.life/wallpaper/FZCVL6PyWq0.jpg','https://cdn.nekos.life/wallpaper/5dG-HH6d0yw.png','https://cdn.nekos.life/wallpaper/ddxyA37HiwE.png','https://cdn.nekos.life/wallpaper/I0oj_jdCD4k.jpg','https://cdn.nekos.life/wallpaper/ABchTV97_Ts.png','https://cdn.nekos.life/wallpaper/58C37kkq39Y.png','https://cdn.nekos.life/wallpaper/HMS5mK7WSGA.jpg','https://cdn.nekos.life/wallpaper/1O3Yul9ojS8.jpg','https://cdn.nekos.life/wallpaper/hdZI1XsYWYY.jpg','https://cdn.nekos.life/wallpaper/h8pAJJnBXZo.png','https://cdn.nekos.life/wallpaper/apO9K9JIUp8.jpg','https://cdn.nekos.life/wallpaper/p8f8IY_2mwg.jpg','https://cdn.nekos.life/wallpaper/HY1WIB2r_cE.jpg','https://cdn.nekos.life/wallpaper/u02Y0-AJPL0.jpg','https://cdn.nekos.life/wallpaper/jzN74LcnwE8.png','https://cdn.nekos.life/wallpaper/IeAXo5nJhjw.jpg','https://cdn.nekos.life/wallpaper/7lgPyU5fuLY.jpg','https://cdn.nekos.life/wallpaper/f8SkRWzXVxk.png','https://cdn.nekos.life/wallpaper/ZmDTpGGeMR8.jpg','https://cdn.nekos.life/wallpaper/AMrcxZOnVBE.jpg','https://cdn.nekos.life/wallpaper/ZhP-f8Icmjs.jpg','https://cdn.nekos.life/wallpaper/7FyUHX3fE2o.jpg','https://cdn.nekos.life/wallpaper/CZoSLK-5ng8.png','https://cdn.nekos.life/wallpaper/pSNDyxP8l3c.png','https://cdn.nekos.life/wallpaper/AhYGHF6Fpck.jpg','https://cdn.nekos.life/wallpaper/ic6xRRptRes.jpg','https://cdn.nekos.life/wallpaper/89MQq6KaggI.png','https://cdn.nekos.life/wallpaper/y1DlFeHHTEE.png']
              let walnimek = walnime[Math.floor(Math.random() * walnime.length)]
              tobz.sendFileFromUrl(from, walnimek, 'Nimek.jpg', '', id)
              break*/
          case '#quotesnime':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              const skya = await axios.get('https://mhankbarbar.herokuapp.com/api/quotesnime/random')
              skya_ = skya.data
              tobz.reply(from, `➸ *Quotes* : ${skya_.quote}\n➸ *Character* : ${skya_.character}\n➸ *Anime* : ${skya_.anime}`, id)
              break
          case '#meme':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              const response = await axios.get('https://meme-api.herokuapp.com/gimme/wholesomeanimemes')
              const { postlink, title, subreddit, url, nsfw, spoiler } = response.data
              tobz.sendFileFromUrl(from, `${url}`, 'meme.jpg', `${title}`)
              break
          /* case '#nekopoi':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (!isNsfw) return tobz.reply(from, 'command/Perintah NSFW belum di aktifkan di group ini!', id)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#nekopoi [linkNekopoi]*\nContoh : *#nekopoi https://nekopoi.care/tsunpuri-episode-1-subtitle-indonesia/*', id)
              try {
              tobz.reply(from, mess.wait, id)
              const nekipoi = await axios.get('https://mhankbarbar.herokuapp.com/api/nekopoi?url=' + body.slice(7) + '&apikey=' + vhtearkey)
              const nekop = nekipoi.data.result
              const nekop2 = `*Anime Ditemukan!*\n➸ Judul : ${nekop.judul}\n➸ Dilihat : ${nekop.dilihat}\n➸ Info : ${nekop.info}`
              const image = await bent("buffer")(nekop.thumbnail)
              const base64 = `data:image/jpg;base64,${image.toString("base64")}`
              tobz.sendImage(from, base64, judul, nekop2)
              } catch (err) {
               console.error(err.message)
               await tobz.sendFileFromUrl(from, errorurl2, 'error.png', '💔️ Maaf, Video tidak ditemukan')
               tobz.sendText(ownerNumber, 'Nekopoi Error : ' + err)
             } */
              break
          case '#quoteanime':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
                          if(args[1]){
                              if(args[1] === 'anime'){
                                  const anime = body.slice(13)
                                  axios.get('https://animechanapi.xyz/api/quotes?anime='+anime).then(({ data }) => {
                                      let quote = data.data[0].quote 
                                      let char = data.data[0].character
                                      let anime = data.data[0].anime
                                      tobz.sendText(from, `"${quote}"\n\nCharacter : ${char}\nAnime : ${anime}`)
                                  }).catch(err => {
                                      tobz.sendText('Quote Char/Anime tidak ditemukan!')
                                  })
                              }else{
                                  const char = body.slice(12)
                                  axios.get('https://animechanapi.xyz/api/quotes?char='+char).then(({ data }) => {
                                      let quote = data.data[0].quote 
                                      let char = data.data[0].character
                                      let anime = data.data[0].anime
                                      tobz.sendText(from, `"${quote}"\n\nCharacter : ${char}\nAnime : ${anime}`)
                                  }).catch(err => {
                                      tobz.sendText('Quote Char/Anime tidak ditemukan!')
                                  })
                              }
                          }else{
                              axios.get('https://animechanapi.xyz/api/quotes/random').then(({ data }) => {
                                  let penyanyi = data.result[0].penyanyi 
                                  let judul = data.result[0].judul
                                  let linkimg = data.result[0].linkImg
                                  let lagu = data.result[0].linkMp3 
                                  let size = data.result[0].filesize
                                  let durasi = data.result[0].duration
                                  tobz.sendText(from, `"${quote}"\n\nCharacter : ${char}\nAnime : ${anime}`)                               
                              }).catch(err => {
                                  console.log(err)
                              })
                          }
              break
          case '#malanime':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              const keyword = message.body.replace('#malanime', '')
              try {
              const data = await fetch(
             `https://api.jikan.moe/v3/search/anime?q=${keyword}`
              )
              const parsed = await data.json()
              if (!parsed) {
                await tobz.sendFileFromUrl(from, errorurl2, 'error.png', '💔️ Maaf, Anime tidak ditemukan', id)
                return null
                }
              const { title, synopsis, episodes, url, rated, score, image_url } = parsed.results[0]
              const content = `*Anime Ditemukan!*
  ✨️ *Title:* ${title}
  🎆️ *Episodes:* ${episodes}
  💌️ *Rating:* ${rated}
  ❤️ *Score:* ${score}
  💚️ *Synopsis:* ${synopsis}
  🌐️ *URL*: ${url}`
  
              const image = await bent("buffer")(image_url)
              const base64 = `data:image/jpg;base64,${image.toString("base64")}`
              tobz.sendImage(from, base64, title, content)
             } catch (err) {
               console.error(err.message)
               await tobz.sendFileFromUrl(from, errorurl2, 'error.png', '💔️ Maaf, Anime tidak ditemukan')
             }
            break
          case '#malcharacter':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              const keywords = message.body.replace('#malcharacter', '')
              try {
              const data = await fetch(
             `https://api.jikan.moe/v3/search/character?q=${keywords}`
              )
              const parsed = await data.json()
              if (!parsed) {
                await tobz.sendFileFromUrl(from, errorurl2, 'error.png', '💔️ Maaf, Anime tidak ditemukan', id)
                return null
                }
              const { name, alternative_names, url, image_url } = parsed.results[0]
              const contentt = `*Anime Ditemukan!*
  
  ✨️ *Name:* ${name}
  💌️ *Alternative Names:* ${alternative_names}
  🌐️ *URL*: ${url}`
  
              const image = await bent("buffer")(image_url)
              const base64 = `data:image/jpg;base64,${image.toString("base64")}`
              tobz.sendImage(from, base64, name, contentt)
             } catch (err) {
               console.error(err.message)
               await tobz.sendFileFromUrl(from, errorurl2, 'error.png', '💔️ Maaf, Anime tidak ditemukan')
             }
            break
          // PRAY //
          case '#jadwalshalat':
          case '#jadwalsholat':
              if (!isGroupMsg) return tobz.reply(from, `Perintah ini hanya bisa di gunakan dalam group!`, id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              if (args.length === 1) return tobz.reply(from, `[❗] Kirim perintah *#jadwalShalat [ Daerah ]*\ncontoh : *#jadwalShalat Tangerang*\nUntuk list daerah kirim perintah *#listDaerah*`)
              const daerah = body.slice(14)
              const jadwalShalat = await axios.get(`https://api.vhtear.com/jadwalsholat?query=${daerah}&apiKey=${vhtearkey}`)
              if (jadwalShalat.data.error) return tobz.reply(from, jadwalShalat.data.error, id)
              const { Shubuh, Zduhur, Ashr, Magrib, Isya, kota } = await jadwalShalat.data
              arrbulan = ["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"];
              tgl = new Date().getDate()
              bln = new Date().getMonth()
              thn = new Date().getFullYear()
              const resultJadwal = `「 JADWAL SHALAT 」\n\nJadwal shalat di ${kota}, ${tgl}-${arrbulan[bln]}-${thn}\n\nSubuh : ${Shubuh}\nDzuhur : ${Zduhur}\nAshar : ${Ashr}\nMaghrib : ${Magrib}\nIsya : ${Isya}`
              await limitAdd(serial)
              break
          case '#quran':
              if (!isGroupMsg) return tobz.reply(from, `Perintah ini hanya bisa di gunakan dalam group!`, id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              if (args.length === 1) return tobz.reply(from, `Kirim perintah Surah Quran kamu dengan cara ketik perintah :\n*#quran* [ Urutan Surat ]\nContoh :\n*#quran 1*`, id)
              const qura = `https://api.vhtear.com/quran?no=${args[1]}&apikey=${vhtearkey}`
              const quraan = await axios.get(qura)
              const quraann = quraan.data
              let hasqu = `*「 AL-QURAN 」*\n\n*Surah : ${quraann.result.surah}*\n*Quran* : ${quraann.result.quran}*`
              await tobz.reply(from, `${hasqu}`, id).catch((e) => tobz.reply(from, `*Terdapat kesalahan saat mencari surat ${args[1]}*`, id))
              await limitAdd(serial)
              break
          case '#listsurah':
              if (!isGroupMsg) return tobz.reply(from, `Perintah ini hanya bisa di gunakan dalam group!`, id)
              try {
                  axios.get('https://raw.githubusercontent.com/ArugaZ/scraper-results/main/islam/surah.json')
                  .then((response) => {
                      let hehex = '*「 DAFTAR SURAH 」*\n\n___________________________\n'
                      let nmr = 1
                      for (let i = 0; i < response.data.data.length; i++) {
                          hehex += nmr + '. ' +  monospace(response.data.data[i].name.transliteration.id.toLowerCase()) + '\n'
                          nmr++
                              }
                          hehex += '___________________________'
                      tobz.reply(from, hehex, id)
                  })
              } catch(err) {
                  tobz.reply(from, err, id)
              }
              break
          case '#infosurah':
              if (!isGroupMsg) return tobz.reply(from, `Perintah ini hanya bisa di gunakan dalam group!`, id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              if (args.length == 1) return tobz.reply(from, `Kirim perintah *#infosurah [ Nama Surah ]*\nContoh : *#infosurah al-fatihah*`, message.id)
                  var responseh = await axios.get('https://raw.githubusercontent.com/ArugaZ/scraper-results/main/islam/surah.json')
                  var { data } = responseh.data
                  var idx = data.findIndex(function(post, index) {
                  if((post.name.transliteration.id.toLowerCase() == args[1].toLowerCase())||(post.name.transliteration.en.toLowerCase() == args[1].toLowerCase()))
                      return true;
                  });
                  try {
                      var pesan = "*「 INFORMASI SURAH 」*\n\n___________________________\n\n"
                      pesan = pesan + "➸ *Nama* : "+ data[idx].name.transliteration.id + "\n" + "➸ *Asma* : " +data[idx].name.short+"\n"+"➸ *Arti* : "+data[idx].name.translation.id+"\n"+"➸ *Jumlah ayat* : "+data[idx].numberOfVerses+"\n"+"➸ *Nomor surah* : "+data[idx].number+"\n"+"Jenis : "+data[idx].revelation.id+"\n"+"➸ *Keterangan* : "+data[idx].tafsir.id
                      pesan += '\n\n___________________________'
                      tobz.reply(from, pesan, message.id)
                      limitAdd(serial)
                  }catch{
                      tobz.reply(from, 'Data tidak ditemukan, atau nama surah salah', id)
                  }
              break
          case '#tafsir':
              if (!isGroupMsg) return tobz.reply(from, `Perintah ini hanya bisa di gunakan dalam group!`, id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              if (args.length == 1) return tobz.reply(from, `Kirim perintah *#tafsir [ Nama Surah ] [ Ayat ]*\nContoh : *#tafsir al-fatihah 2*`, message.id)
                  var responsh = await axios.get('https://raw.githubusercontent.com/ArugaZ/scraper-results/main/islam/surah.json')
                  var {data} = responsh.data
                  var idx = data.findIndex(function(post, index) {
                  if((post.name.transliteration.id.toLowerCase() == args[1].toLowerCase())||(post.name.transliteration.en.toLowerCase() == args[1].toLowerCase()))
                      return true;
                  });
              try{
                  nmr = data[idx].number
                  if(!isNaN(nmr)) {
                  var responsih = await axios.get('https://api.quran.sutanlab.id/surah/'+nmr+"/"+args[2])
                      var {data} = responsih.data
                      pesan = ""
                      pesan = pesan + "*「 TAFSIR 」*\n\nTafsir Q.S. "+data.surah.name.transliteration.id+":"+args[2]+"\n\n"
                      pesan = pesan + data.text.arab + "\n\n"
                      pesan = pesan + "_" + data.translation.id + "_" + "\n\n" +data.tafsir.id.long
                      pesan += '\n\n___________________________'
                      tobz.reply(from, pesan, message.id)
                      limitAdd(serial)
                  }
              }catch{
                  tobz.reply(from, 'Data tidak ditemukan, mungkin nama surah/ayat salah', id)
              }
              break
          // MEDIA //
          case '#infogempa':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              const bmkg = await axios.get('https://mhankbarbar.herokuapp.com/api/infogempa'+'?apiKey='+barbarkey)
              const { potensi, koordinat, lokasi, kedalaman, magnitude, waktu, map } = bmkg.data
              const hasil = `*${waktu}*\n📍 *Lokasi* : *${lokasi}*\n〽️ *Kedalaman* : *${kedalaman}*\n💢 *Magnitude* : *${magnitude}*\n🔘 *Potensi* : *${potensi}*\n📍 *Koordinat* : *${koordinat}*`
              tobz.sendFileFromUrl(from, map, 'shakemap.jpg', hasil, id)
              break
          case '#ssweb':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#ssweb [linkWeb]*\nContoh : *#ssweb https://neonime.vip*', id)
              const ssw = await axios.get('https://mhankbarbar.herokuapp.com/api/url2image?url=' + body.slice(7) + '&apiKey=' + barbarkey)
              const ssww = ssw.data
              if (ssww.error) return tobz.reply(from, ssww.error, id)
              const ssw2 = `Filesize: ${ssww.filesize}`
              tobz.sendFileFromUrl(from, ssww.result, 'ssweb.jpg', ssw2, id)
              break
          case '#shorturl':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#shorturl [linkWeb]*\nContoh : *#shorturl https://neonime.vip*', id)
              const surl = await axios.get('https://api.vhtear.com/shortener?link=' + body.slice(10) + '&apikey=' + vhtearkey)
              const surll = surl.data
              if (surll.error) return tobz.reply(from, ssww.error, id)
              const surl2 = `Link : ${surll.result.Url}\nShort URL : ${surll.result.Short}`
              tobz.sendText(from, surl2, id)
              break
          case '#cuaca':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#cuaca [tempat]*\nContoh : *#cuaca tangerang', id)
              const tempat = body.slice(7)
              const weather = await axios.get('https://mhankbarbar.herokuapp.com/api/cuaca?q='+ tempat +'&apiKey='+ barbarkey)
              const weatherr = weather.data
              if (weatherr.error) {
                  tobz.reply(from, weatherr.error, id)
              } else {
                  tobz.reply(from, `➸ Tempat : ${weatherr.result.tempat}\n\n➸ Angin : ${weatherr.result.angin}\n➸ Cuaca : ${weatherr.result.cuaca}\n➸ Deskripsi : ${weatherr.result.desk}\n➸ Kelembapan : ${weatherr.result.kelembapan}\n➸ Suhu : ${weatherr.result.suhu}\n➸ Udara : ${weatherr.result.udara}`, id)
              }
              break
          case '#covid':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              arg = body.trim().split(' ')
              console.log(...arg[1])
              var slicedArgs = Array.prototype.slice.call(arg, 1);
              console.log(slicedArgs)
              const country = await slicedArgs.join(' ')
              console.log(country)
              const response2 = await axios.get('https://coronavirus-19-api.herokuapp.com/countries/' + country + '/')
              const { cases, todayCases, deaths, todayDeaths, active } = response2.data
                  await tobz.sendText(from, '🌎️ Covid Info - ' + country + ' 🌍️\n\n✨️ Total Cases: ' + `${cases}` + '\n📆️ Today\'s Cases: ' + `${todayCases}` + '\n☣️ Total Deaths: ' + `${deaths}` + '\n☢️ Today\'s Deaths: ' + `${todayDeaths}` + '\n⛩️ Active Cases: ' + `${active}` + '.')
              break
          case '#spamcall':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group', id)
              if (!isOwner, !isAdmin) return tobz.reply(from, 'Perintah ini hanya untuk Owner & Admin bot', id)
              arg = body.trim().split(' ')
              console.log(...arg[1])
              var slicedArgs = Array.prototype.slice.call(arg, 1);
              console.log(slicedArgs)
              const spam = await slicedArgs.join(' ')
              console.log(spam)
              const call2 = await axios.get('https://mhankbarbar.herokuapp.com/api/spamcall?no=' + spam)
              const { logs } = call2.data
                  await tobz.sendText(from, `Logs : ${logs}` + '.')
              break
          case '#ytmp4':
              if (!isGroupMsg) return tobz.reply(from, `Perintah ini hanya bisa di gunakan dalam group!`, id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              if (args.length === 1) return tobz.reply(from, `Kirim perintah *#ytmp4 [ Link Yt ]*, untuk contoh silahkan kirim perintah *#readme*`)
              let isLin = args[1].match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/)
              if (!isLin) return tobz.reply(from, mess.error.Iv, id)
              try {
                  tobz.reply(from, mess.wait, id)
                  const ytvh = await fetch(`http://api.vhtear.com/ytdl?link=${args[1]}&apikey=${vhtearkey}`)
                  if (!ytvh.ok) throw new Error(`Error Get Video : ${ytvh.statusText}`)
                  const ytvh2 = await ytvh.json()
                   if (ytvh2.status == false) {
                      tobz.reply(from, `*Maaf Terdapat kesalahan saat mengambil data, mohon pilih media lain...*`, id)
                  } else {
                      if (Number(ytvh2.result.size.split(' MB')[0]) > 30.00) return tobz.reply(from, `Maaf durasi video sudah melebihi batas maksimal 30 MB!`, id)
                      const { title, UrlVideo, imgUrl, size } = await ytvh2.result
                      tobz.sendFileFromUrl(from, imgUrl, 'thumb.jpg', `*「 YOUTUBE MP4 」*\n\n➸ *Judul* : ${title}\n➸ *Filesize* : ${size}\n\n_*Untuk durasi lebih dari batas disajikan dalam bentuk link*._\n${UrlVideo}`, id)
                      await tobz.sendFileFromUrl(from, UrlVideo, `${title}.mp4`, '', id).catch(() => tobz.reply(from, mess.error.Yt4, id))
                      await limitAdd(serial)
                  }
              } catch (err) {
                  tobz.sendText(ownerNumber, 'Error ytmp4 : '+ err)
                  tobz.reply(from, mess.error.Yt4, id)
                  console.log(err)
              }
              break
          case '#play':
              if (!isAdmin) return tobz.reply(from, `Perintah ini hanya bisa di gunakan oleh Admin REV!`, id)
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #ceklimit Untuk Mengecek Kuota Limit Kamu`, id)
              if (args.length == 1) return tobz.reply(from, `Untuk mencari lagu dari youtube\n\nPenggunaan: #play judul lagu`, id)
              try {
                  tobz.reply(from, mess.wait, id)
                  const serplay = body.slice(6)
                  const webplay = await fetch(`https://api.vhtear.com/ytmp3?query=${serplay}&apikey=${vhtearkey}`)
                  if (!webplay.ok) throw new Error(`Error Get Video : ${webplay.statusText}`)
                  const webplay2 = await webplay.json()
                   if (webplay2.status == false) {
                      tobz.reply(from, `*Maaf Terdapat kesalahan saat mengambil data, mohon pilih media lain...*`, id)
                  } else {
                      if (Number(webplay2.result.size.split(' MB')[0]) >= 10.00) return tobz.reply(from, 'Maaf durasi music sudah melebihi batas maksimal 10 MB!', id)
                      const { image, mp3, size, ext, title, duration } = await webplay2.result
                      const captplay = `*「 PLAY 」*\n\n➸ *Judul* : ${title}\n➸ *Durasi* : ${duration}\n➸ *Filesize* : ${size}\n➸ *Exp* : ${ext}\n\n_*Music Sedang Dikirim*_`
                      tobz.sendFileFromUrl(from, image, `thumb.jpg`, captplay, id)
                      await tobz.sendFileFromUrl(from, mp3, `${title}.mp3`, '', id).catch(() => tobz.reply(from, mess.error.Yt4, id))
                      await limitAdd(serial)
                  }
              } catch (err) {
                  tobz.sendText(ownerNumber, 'Error Play : '+ err)
                  tobz.reply(from, mess.error.Yt3, id)
              }
              break   
          case '#ytmp3':
              if (!isGroupMsg) return tobz.reply(from, `Perintah ini hanya bisa di gunakan dalam group!`, id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              if (args.length === 1) return tobz.reply(from, `Kirim perintah *#ytmp3 [ Link Yt ]*, untuk contoh silahkan kirim perintah *#readme*`, id)
              let isLinks = args[1].match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/)
              if (!isLinks) return tobz.reply(from, mess.error.Iv, id)
              try {
                  tobz.reply(from, mess.wait, id)
                  const vhtearyt3 = await fetch(`https://api.vhtear.com/ytdl?link=${args[1]}&apikey=${vhtearkey}`)
                  if (!vhtearyt3.ok) throw new Error(`Error ytmp3 3 : ${vhtearyt3.statusText}`)
                  const vhtearyt33 = await vhtearyt3.json()
                   if (vhtearyt33.status == false) {
                      tobz.reply(from, `*Maaf Terdapat kesalahan saat mengambil data, mohon pilih media lain...*`, id)
                  } else {
                      if (Number(vhtearyt33.result.size.split(' MB')[0]) >= 10.00) return tobz.reply(from, 'Maaf durasi audio sudah melebihi batas maksimal 10 MB!', id)
                      const { title, ext, size, UrlMp3, status, imgUrl } = await vhtearyt33.result
                      const captions = `*「 YOUTUBE MP3 」*\n\n➸ *Judul* : ${title}\n➸ *Filesize* : ${size}\n\n_*Untuk durasi lebih dari batas disajikan dalam bentuk link*._\n${UrlMp3}`
                      tobz.sendFileFromUrl(from, imgUrl, `thumb.jpg`, captions, id)
                      await tobz.sendFileFromUrl(from, UrlMp3, `${title}.mp3`, '', id).catch(() => tobz.reply(from, mess.error.Yt4, id))
                      await limitAdd(serial)
                  }
              } catch (err) {
                  tobz.sendText(ownerNumber, 'Error ytmp3 : '+ err)
                  tobz.reply(from, mess.error.Yt3, id)
              }
              break   
          case '#google':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              tobz.reply(from, mess.wait, id)
              const googleQuery = body.slice(8)
              if(googleQuery == undefined || googleQuery == ' ') return tobz.reply(from, `*Hasil Pencarian : ${googleQuery}* tidak ditemukan`, id)
              google({ 'query': googleQuery }).then(results => {
              let vars = `_*Hasil Pencarian : ${googleQuery}*_\n`
              for (let i = 0; i < results.length; i++) {
                  vars +=  `\n═════════════════\n\n*Judul* : ${results[i].title}\n\n*Deskripsi* : ${results[i].snippet}\n\n*Link* : ${results[i].link}\n\n`
              }
                  tobz.reply(from, vars, id);
              }).catch(e => {
                  console.log(e)
                  tobz.sendText(ownerNumber, 'Google Error : ' + e);
              })
              break
          case '#translate':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if(args[1] == undefined || args[2] == undefined) return
              if(args.length >= 2){
                  var codelang = args[1]
                  var text = body.slice(11+codelang.length);
                  translatte(text, {to: codelang}).then(res => {
                      tobz.sendText(from,res.text);
                      limitAdd(serial)
                  }).catch(err => {
                       tobz.sendText(from,`[ERROR] Teks tidak ada, atau kode bahasa ${codelang} tidak support\n~> *#bahasa* untuk melihat list kode bahasa`);
                  });
              }
              break
          case '#nhentai': // SEARCH NHENTAI
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              tobz.reply(from, 'PREMIUM COMMAND, HUBUNGI : wa.me/6283164445159', id)
            break
          case '#getnhentai': // DOWNLOADER NHENTAI PDF FROM #NHENTAI
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              tobz.reply(from, 'PREMIUM COMMAND, HUBUNGI : wa.me/6283164445159', id)
            break
          case '#xvideos': // SEARCH VIDEO FROM YOUTUBE
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              tobz.reply(from, 'PREMIUM COMMAND, HUBUNGI : wa.me/6283164445159', id)
              break
          case '#getxvideos': // DOWNLOADER VIDEO FROM #VIDEO
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              tobz.reply(from, 'PREMIUM COMMAND, HUBUNGI : wa.me/6283164445159', id)
              break
          case '#video': // SEARCH VIDEO FROM YOUTUBE
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              tobz.reply(from, 'PREMIUM COMMAND, HUBUNGI : wa.me/6283164445159', id)
              break
          case '#getvideo': // DOWNLOADER VIDEO FROM #VIDEO
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              tobz.reply(from, 'PREMIUM COMMAND, HUBUNGI : wa.me/6283164445159', id)
              break
          case '#music': // SEARCH MUSIC FROM YOUTUBE
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              tobz.reply(from, 'PREMIUM COMMAND, HUBUNGI : wa.me/6283164445159', id)
              break
          case '#getmusic': // DOWNLOADER MUSIC FROM #MUSIC
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              tobz.reply(from, 'PREMIUM COMMAND, HUBUNGI : wa.me/6283164445159', id)
              break
          case '#youtubesearch': // SEARCH YOUTUBE
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              tobz.reply(from, 'PREMIUM COMMAND, HUBUNGI : wa.me/6283164445159', id)
              break
          case '#shopee': // SEARCH SHOPEE PRODUCT
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              tobz.reply(from, 'PREMIUM COMMAND, HUBUNGI : wa.me/6283164445159', id)
              break
          case '#playstore': // SEARCH PLAYSTORE
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              tobz.reply(from, 'PREMIUM COMMAND, HUBUNGI : wa.me/6283164445159', id)
              break
          case '#animesearch': // SEARCH ANIME
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              tobz.reply(from, 'PREMIUM COMMAND, HUBUNGI : wa.me/6283164445159', id)
              break
          case '#xnxx':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (!isNsfw) return tobz.reply(from, 'command/Perintah NSFW belum di aktifkan di group ini!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#xnxx [linkXnxx]*, untuk contoh silahkan kirim perintah *#readme*')
              if (!args[1].match(isUrl) && !args[1].includes('xnxx.com')) return tobz.reply(from, mess.error.Iv, id)
              try {
                  tobz.reply(from, mess.wait, id)
                  const resq = await axios.get('https://mhankbarbar.herokuapp.com/api/xnxx?url='+ args[1] +'&apiKey='+ barbarkey)
                  const resp = resq.data
                   if (resp.error) {
                      tobz.reply(from, ytvv.error, id)
                  } else {
                      if (Number(resp.result.size.split(' MB')[0]) > 20.00) return tobz.reply(from, 'Maaf durasi video sudah melebihi batas maksimal 20 menit!', id)
                      tobz.sendFileFromUrl(from, resp.result.thumb, 'thumb.jpg', `➸ *Judul* : ${resp.result.judul}\n➸ *Deskripsi* : ${resp.result.desc}\n➸ *Filesize* : ${resp.result.size}\n\nSilahkan tunggu sebentar proses pengiriman file membutuhkan waktu beberapa menit.`, id)
                      await tobz.sendFileFromUrl(from, resp.result.vid, `${resp.result.title}.mp4`, '', id)}
              } catch (err) {
                  console.log(err)
                  await tobz.sendFileFromUrl(from, errorurl2, 'error.png', '💔️ Maaf, Video tidak ditemukan')
                  tobz.sendText(ownerNumber, 'Xnxx Error : ' + err)
              }
              break
          case '#ramalpasangan':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#ramalpasangan [kamu|pasangan]*\nContoh : *#ramalpasangan Tobz|REV*', id)
              arg = body.trim().split('|')
              if (arg.length >= 2) {
              tobz.reply(from, mess.wait, id)
              const kamu = arg[0]
              const pacar = arg[1]
              const rpmn = rate[Math.floor(Math.random() * (rate.length))]
              const rpmn2 = rate[Math.floor(Math.random() * (rate.length))]
              const rpmn3 = rate[Math.floor(Math.random() * (rate.length))]
              const rpmn4 = rate[Math.floor(Math.random() * (rate.length))]
              const rpmn5 = rate[Math.floor(Math.random() * (rate.length))]
              const rpmn6 = rate[Math.floor(Math.random() * (rate.length))]
              const rjh2 = `*Hasil Pengamatan!*\nPasangan dengan nama ${kamu} dan ${pacar}\n\n➸ Cinta : ${rpmn}\n➸ Jodoh : ${rpmn2}\n➸ Kemiripan : ${rpmn3}\n➸ Kesukaan : ${rpmn4}\n➸ Kesamaan : ${rpmn5}\n➸ Kebucinan ${rpmn6}`
              tobz.reply(from, rjh2, id)
              } else {
              await tobz.reply(from, 'Wrong Format!', id)
              }
              break
          case '#artinama':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#artinama [query]*\nContoh : *#artinama Tobz*', id)
              try {
              const resp = await axios.get('https://api.vhtear.com/artinama?nama=' + body.slice(9) + '&apikey=' + vhtearkey)
              if (resp.data.error) return tobz.reply(from, resp.data.error, id)
              const anm2 = `➸ Artinama : ${resp.data.result.hasil}`
              tobz.reply(from, anm2, id)
              } catch (err) {
                  console.error(err.message)
                  await tobz.sendFileFromUrl(from, errorurl2, 'error.png', '💔️ Maaf, User tidak ditemukan')
                  tobz.sendText(ownerNumber, 'Artinama Error : ' + err)
             }
              break
          case '#fb':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#fb [linkFb]*\nContoh : *#fb https://www.facebook.com/24609282673/posts/10158628585367674/*', id)
              try {
              tobz.reply(from, mess.wait, id)
              const resp = await axios.get('https://mhankbarbar.herokuapp.com/api/epbe?url=' + body.slice(4) + '&apiKey=' + barbarkey)
              const epbe2 = `*Video Ditemukan!*\n➸ Title : ${resp.data.title}\n➸ Filesize : ${resp.data.filesize}\n➸ Published : ${resp.data.published}`
              tobz.sendFileFromUrl(from, resp.data.result, `${resp.data.title}.mp4`, epbe2, id)
              } catch (err) {
               console.error(err.message)
               await tobz.sendFileFromUrl(from, errorurl2, 'error.png', '💔️ Maaf, Video tidak ditemukan')
               tobz.sendText(ownerNumber, 'Facebook Error : ' + err)
             }
              break
          case '#tiktok':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#tiktok [linkTiktok]*\nContoh : *#tiktok https://vt.tiktok.com/yqyjPX/*', id)
              try {
              tobz.reply(from, mess.wait, id)
              const resp = await axios.get('https://api.vhtear.com/tiktokdl?link=' + body.slice(8) + '&apikey=' + vhtearkey)
              const { dibuat, duration, title, desk, video, image  } = resp.data.result
              const tpk = `*Video Ditemukan!*
  
  ➸ Judul : ${title}
  ➸ Deskripsi : ${desk}
  ➸ Durasi : ${duration}
  ➸ Dibuat : ${dibuat}
  
  Menunggu video...`
              
              const pictk = await bent("buffer")(image)
              const base64 = `data:image/jpg;base64,${pictk.toString("base64")}`
              tobz.sendImage(from, base64, title, tpk)
              tobz.sendFIle(from, video, `${title}.mp4`, '', id)
              } catch (err) {
               console.error(err.message)
               await tobz.sendFileFromUrl(from, errorurl2, 'error.png', '💔️ Maaf, Video tidak ditemukan')
               tobz.sendText(ownerNumber, 'Tiktok Error : ' + err)
             }
              break
          case '#wiki':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#wiki [query]*\nContoh : *#wiki asu*', id)
              const queryz_ = body.slice(6)
              const wiki = await axios.get(`https://mhankbarbar.herokuapp.com/api/wiki?q=${queryz_}&lang=id&apiKey=${barbarkey}`)
  
              if (wiki.data.error) {
                  tobz.reply(from, wiki.data.error, id)
              } else {
                  tobz.sendText(from, `➸ *Query* : ${queryz_}\n\n➸ *Result* : ${wiki.data.result}`, id)
              }
              break
          case '#kbbi':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#wiki [query]*\nContoh : *#wiki asu*', id)
              const kbbl = body.slice(6)
              const kbbl2 = await axios.get(`https://mnazria.herokuapp.com/api/kbbi?search=${kbbl}`)
  
              if (kbbl2.data.error) {
                  tobz.reply(from, kbbl2.data.error, id)
              } else {
                  tobz.sendText(from, `➸ *Query* : ${kbbl}\n\n➸ *Result* : ${kbbl2.data.result}`, id)
              }
              break
          case '#googleimage':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#googleimage [query]*\nContoh : *#googleimage REV*', id)
              try{
                  tobz.reply(from, mess.wait, id)
                  const gimgg = body.slice(13)
                  const gamb = `https://api.vhtear.com/googleimg?query=${gimgg}&apikey=${vhtearkey}`
                  const gimg = await axios.get(gamb)
                  var gimg2 = Math.floor(Math.random() * gimg.data.result.result_search.length)
                  console.log(gimg2)
                  await tobz.sendFileFromUrl(from, gimg.data.result.result_search[gimg2], `gam.${gimg.data.result.result_search[gimg2]}`, `*Google Image*\n\n*Hasil Pencarian : ${gimgg}*`, id)
              } catch (err) {
                  console.log(err); 
                  tobz.sendFileFromUrl(from, errorurl2, 'error.png', '💔️ Maaf, Gambar tidak ditemukan')
                  tobz.sendText(ownerNumber, 'Google Image Error : ' + err)
              }
            break
          case '#smule':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#smule [linkSmule]*\nContoh : *#smule https://www.smule.com/p/767512225_3062360163*', id)
              tobz.reply(from, mess.wait, id)
              arg = body.trim().split(' ')
              console.log(...arg[1])
              var slicedArgs = Array.prototype.slice.call(arg, 1);
              console.log(slicedArgs)
              const sml = await slicedArgs.join(' ')
              console.log(sml)
              try {
              const resp = await axios.get('https://api.vhtear.com/getsmule?link=' + sml + '&apikey=' + vhtearkey)
              const { Type, title, url, image } = resp.data.result
              const sml3 = `*Music Ditemukan!*
  
  ➸ *Judul:* ${title}
  ➸ *Type:* ${Type}`
  
              tobz.sendImage(from, image, `${title}.jpg`, sml3)
              tobz.sendFileFromUrl(from, url, `${title}.mp3`, sml3, id)
              } catch (err) {
               console.error(err.message)
               await tobz.sendFileFromUrl(from, errorurl2, 'error.png', '💔️ Maaf, Music tidak ditemukan')
               tobz.sendText(ownerNumber, 'Smule Error : ' + err)
             }
            break
          case '#sandwriting':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1)  return tobz.reply(from, 'Kirim perintah *#sandwriting [ Teks ]*\nContoh *#sandwriting REV Cantik*', id)
              const swrt = body.slice(13)
              try {
              const swrt2 = await axios.get('https://api.vhtear.com/sand_writing?text1=' + swrt + '&apikey=' + vhtearkey)
              const { imgUrl } = swrt2.data.result
              const swrt3 = `*「 SAND WRITING 」*
  
  *Text : ${swrt}*`
              const pictk = await bent("buffer")(imgUrl)
              const base64 = `data:image/jpg;base64,${pictk.toString("base64")}`
              tobz.sendImage(from, base64, swrt3)
              } catch (err) {
               console.error(err.message)
               await tobz.sendFileFromUrl(from, errorurl2, 'error.png', '💔️ Maaf, User tidak ditemukan')
               tobz.sendText(ownerNumber, 'Sand Writing Error : ' + err)
             }
            break
          case '#resepmasakan':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1)  return tobz.reply(from, 'Kirim perintah *#resepmasakan [optional]*\nContoh *#resepmasakan rawon*', id)
              arg = body.trim().split(' ')
              console.log(...arg[1])
              var slicedArgs = Array.prototype.slice.call(arg, 1);
              console.log(slicedArgs)
              const rmk = await slicedArgs.join(' ')
              console.log(rmk)
              try {
              const resp = await axios.get('https://api.vhtear.com/resepmasakan?query=' + rmk + '&apikey=' + vhtearkey)
              const { bahan, cara, image, title  } = resp.data.result
              const rmk3 = `*Resep Ditemukan!*
  ➸ *Judul:* ${title}
  ➸ *Bahan:* ${bahan}
  ➸ *Cara:* ${cara}`
  
              const pictk = await bent("buffer")(image)
              const base64 = `data:image/jpg;base64,${pictk.toString("base64")}`
              tobz.sendImage(from, base64, title, rmk3)
              } catch (err) {
               console.error(err.message)
               await tobz.sendFileFromUrl(from, errorurl2, 'error.png', '💔️ Maaf, Resep tidak ditemukan')
               tobz.sendText(ownerNumber, 'Resepmasakan Error : ' + err)
             }
             break
          case '#twitterstalk':
          case '#twtstalk':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1)  return tobz.reply(from, 'Kirim perintah *#twtstalk @username*\nContoh *#twtstalk @miakhalifah*', id)
              arg = body.trim().split(' ')
              console.log(...arg[1])
              var slicedArgs = Array.prototype.slice.call(arg, 1);
              console.log(slicedArgs)
              const twstalk = await slicedArgs.join(' ')
              console.log(twstalk)
              try {
              const twstalk2 = await axios.get('https://mhankbarbar.herokuapp.com/api/twstalk?username=' + twstalk + '&apiKey=' + barbarkey)
              const { followers_count, full_name, name, profile_pic, status_count } = twstalk2.data
              const twstalk3 = `*User Ditemukan!*
  ➸ *Nama:* ${name}
  ➸ *Nama Panjang:* ${full_name}
  ➸ *Jumlah Pengikut:* ${followers_count}
  ➸ *Jumlah Postingan:* ${status_count}`
  
              const pictk = await bent("buffer")(profile_pic)
              const base64 = `data:image/jpg;base64,${pictk.toString("base64")}`
              tobz.sendImage(from, base64, name, twstalk3)
              } catch (err) {
               console.error(err.message)
               await tobz.sendFileFromUrl(from, errorurl2, 'error.png', '💔️ Maaf, User tidak ditemukan')
               tobz.sendText(ownerNumber, 'Twitter Error : ' + err)
             }
            break
          case '#igstalk':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1)  return tobz.reply(from, 'Kirim perintah *#igstalk @username*\nContoh *#igstalk revolt_144*', id)
              arg = body.trim().split(' ')
              console.log(...arg[1])
              var slicedArgs = Array.prototype.slice.call(arg, 1);
              console.log(slicedArgs)
              const istalk = await slicedArgs.join(' ')
              console.log(istalk)
              try {
              const istalk2 = await axios.get('https://api.vhtear.com/igprofile?query=' + istalk + '&apikey=' + vhtearkey)
              const { biography, follower, follow, post_count, full_name, username, picture, is_private } = istalk2.data.result
              const istalk3 = `*User Ditemukan!*
  ➸ *Username:* ${username}
  ➸ *Nama:* ${full_name}
  ➸ *Bio:* ${biography}
  ➸ *Mengikuti:* ${follow}
  ➸ *Pengikut:* ${follower}
  ➸ *Jumlah Postingan:* ${post_count}`
  
              const pictk = await bent("buffer")(picture)
              const base64 = `data:image/jpg;base64,${pictk.toString("base64")}`
              tobz.sendImage(from, base64, username, istalk3)
              } catch (err) {
               console.error(err.message)
               await tobz.sendFileFromUrl(from, errorurl2, 'error.png', '💔️ Maaf, User tidak ditemukan')
               tobz.sendText(ownerNumber, 'Igstalk Error : ' + err)
             }
            break
          case '#tiktokstalk':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1)  return tobz.reply(from, 'Kirim perintah *#tiktokstalk @username*\nContoh *#tiktokstalk @rev.ex*', id)
              arg = body.trim().split(' ')
              console.log(...arg[1])
              var slicedArgs = Array.prototype.slice.call(arg, 1);
              console.log(slicedArgs)
              const tstalk = await slicedArgs.join(' ')
              console.log(tstalk)
              try {
              const tstalk2 = await axios.get('https://api.vhtear.com/tiktokprofile?query=' + tstalk + '&apikey=' + vhtearkey)
              const { username, bio, follow, follower, title, like_count, video_post, description, picture, url_account } = tstalk2.data.result
              const tiktod = `*User Ditemukan!*
  ➸ *Username:* ${username}
  ➸ *Judul:* ${title}
  ➸ *Bio:* ${bio}
  ➸ *Mengikuti:* ${follow}
  ➸ *Pengikut:* ${follower}
  ➸ *Jumlah Like*: ${like_count}
  ➸ *Jumlah Postingan:* ${video_post}
  ➸ *Deskripsi:* ${description}
  ➸ *Link:* ${url_account}`
  
              const pictk = await bent("buffer")(picture)
              const base64 = `data:image/jpg;base64,${pictk.toString("base64")}`
              tobz.sendImage(from, base64, title, tiktod)
              } catch (err) {
               console.error(err.message)
               await tobz.sendFileFromUrl(from, errorurl2, 'error.png', '💔️ Maaf, User tidak ditemukan')
               tobz.sendText(ownerNumber, 'Error Tiktokstalk : '+ err)
             }
            break
          case '#smulestalk':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#smulestalk [@username]*\nContoh : *#smulestalk loli*', id)
              arg = body.trim().split(' ')
              console.log(...arg[1])
              var slicedArgs = Array.prototype.slice.call(arg, 1);
              console.log(slicedArgs)
              const sstalk = await slicedArgs.join(' ')
              console.log(sstalk)
              try {
              const sstalk2 = await axios.get('https://api.vhtear.com/smuleprofile?query=' + sstalk + '&apikey=' + vhtearkey)
              const { username, full_name, follower, follow, biography, is_vip, picture, recording } = sstalk2.data.result
              const smule = `*User Ditemukan!*
  ➸ *Username:* ${username}
  ➸ *Full Name:* ${title}
  ➸ *Biografi:* ${biography}
  ➸ *Mengikuti:* ${follow}
  ➸ *Pengikut:* ${follower}
  ➸ *VIP*: ${is_vip}
  ➸ *Total Rekaman:* ${recording}`
  
              const pictk = await bent("buffer")(picture)
              const base64 = `data:image/jpg;base64,${pictk.toString("base64")}`
              tobz.sendImage(from, base64, title, smule)
              } catch (err) {
               console.error(err.message)
               await tobz.sendFileFromUrl(from, errorurl2, 'error.png', '💔️ Maaf, User tidak ditemukan')
               tobz.sendText(ownerNumber, 'Error Smulestalk : '+ err)
              }
            break
          case '#':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (!isSimi) return tobz.reply(from, 'command/Perintah Simi belum di aktifkan di group ini!', id)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *# [teks]*\nContoh : *# halo*')
              const que = body.slice(2)
              const sigo = await axios.get(`http://simsumi.herokuapp.com/api?text=${que}&lang=id`)
              const sigot = sigo.data
              tobz.reply(from, sigot.success, id)
              console.log(sigot)
              break
          case '#ig': 
          case '#instagram':
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              if (args.length === 1) return tobz.reply(from, `Kirim perintah *#ig [ Link Instagram ]* untuk contoh silahkan kirim perintah *#readme*`)
              if (!args[1].match(isUrl) && !args[1].includes('instagram.com')) return tobz.reply(from, `Maaf, link yang kamu kirim tidak valid. [Invalid Link]`, id)
              await tobz.reply(from, mess.wait, id);
              instagram(args[1]).then(async(res) => {
                  let username = res.owner_username;
                  for (let i = 0; i < res.post.length; i++) {
                  if (res.post[i].type == "image") {
                          await tobz.sendFileFromUrl(from, res.post[i].urlDownload, "ig.jpg", `*「 INSTAGRAM 」*\n\n➸ *Username* : ${username}\n➸ *Tipe* : Image/Jpg`, id);
                          limitAdd(serial)
                      } else if (res.post[i].type == "video") {
                          await tobz.sendFileFromUrl(from, res.post[i].urlDownload, "ig.mp4", `*「 INSTAGRAM 」*\n\n➸ *Username* : ${username}\n➸ *Tipe* : Video/MP4`);
                          limitAdd(serial)
                      }
                  }
              }).catch((err) => {
                  console.log(err);
                  tobz.reply(from, `Maaf, Terjadi Kesalahan`, id)
              })
              break       
          case '#starmaker':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#starmaker [linkStarmaker]* untuk contoh silahkan kirim perintah *#readme*')
              arg = body.trim().split(' ')
              console.log(...arg[1])
              var slicedArgs = Array.prototype.slice.call(arg, 1);
              console.log(slicedArgs)
              const smkr = await slicedArgs.join(' ')
              console.log(smkr)
              try {
              const smkr2 = await axios.get('https://api.vhtear.com/starmakerdl?link=' + smkr + '&apikey=' + vhtearkey)
              const { image, desc, url, title } = smkr2.data.result
              const smkr3 = `*User Ditemukan!*
  
  ➸ *Judul:* ${title}
  ➸ *Deskripsi:* ${desc}`
  
              const pictk = await bent("buffer")(image)
              const base64 = `data:image/jpg;base64,${pictk.toString("base64")}`
              tobz.sendImage(from, base64, 'image.jpg', 'nihh mhank')
              tobz.sendFileFromUrl(from, url, `${title}.mp4`, '', id)
              } catch (err) {
               console.error(err.message)
               await tobz.sendFileFromUrl(from, errorurl2, 'error.png', '💔️ Maaf, User tidak ditemukan')
               tobz.sendText(ownerNumber, 'Error Starmaker : '+ err)
             }
            break
          case '#maps':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#maps [optional]*, Contoh : *#maps Jakarta*')
              arg = body.trim().split(' ')
              console.log(...arg[1])
              var slicedArgs = Array.prototype.slice.call(arg, 1);
              console.log(slicedArgs)
              const mapz = await slicedArgs.join(' ')
              console.log(mapz)
              try {
              const mapz2 = await axios.get('https://mnazria.herokuapp.com/api/maps?search=' + mapz)
              const { gambar } = mapz2.data
              const pictk = await bent("buffer")(gambar)
              const base64 = `data:image/jpg;base64,${pictk.toString("base64")}`
              tobz.sendImage(from, base64, 'maps.jpg', `*Hasil Maps : ${mapz}*`)
              } catch (err) {
               console.error(err.message)
               await tobz.sendFileFromUrl(from, errorurl2, 'error.png', '💔️ Maaf, User tidak ditemukan')
               tobz.sendText(ownerNumber, 'Error Maps : '+ err)
             }
            break
          case '#twitter':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#twitter [linkTwitter]* untuk contoh silahkan kirim perintah *#readme*')
              arg = body.trim().split(' ')
              console.log(...arg[1])
              var slicedArgs = Array.prototype.slice.call(arg, 1);
              console.log(slicedArgs)
              const twtdl = await slicedArgs.join(' ')
              console.log(twtdl)
              try {
              const twtdl2 = await axios.get('https://mhankbarbar.herokuapp.com/api/twit?url=' + twtdl + '&apiKey=' + barbarkey)
              const { filesize, quote, result, title } = twtdl2.data
              const twtdl3 = `*User Ditemukan!*
  
  ➸ *Judul:* ${title}
  ➸ *Deskripsi:* ${quote}
  ➸ *Filesize:* ${filesize}`
  
              tobz.sendFileFromUrl(from, result, `${title}.mp4`, twtdl3, id)
              } catch (err) {
               console.error(err.message)
               await tobz.sendFileFromUrl(from, errorurl2, 'error.png', '💔️ Maaf, User tidak ditemukan')
             }
            break
          case '#joox':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#joox [optional]*\nContoh : *#joox Alan Walker*', id)
              tobz.reply(from, mess.wait, id)
              arg = body.trim().split(' ')
              console.log(...arg[1])
              var slicedArgs = Array.prototype.slice.call(arg, 1);
              console.log(slicedArgs)
              const music = await slicedArgs.join(' ')
              console.log(music)
              try {
              const music2 = await axios.get('https://api.vhtear.com/music?query=' + music + '&apikey=' + vhtearkey)
              const { penyanyi, judul, album, linkImg, linkMp3, filesize, ext, duration } = music2.data.result[0]
              const musik = `*User Ditemukan!*
  
  ➸ *Penyanyi:* ${penyanyi}
  ➸ *Judul:* ${judul}
  ➸ *Album:* ${album}
  ➸ *Ext:* ${ext}
  ➸ *Size:* ${filesize}
  ➸ *Durasi:* ${duration}`
  
              const pictk = await bent("buffer")(linkImg)
              const base64 = `data:image/jpg;base64,${pictk.toString("base64")}`
              tobz.sendImage(from, base64, judul, musik)
              tobz.sendFileFromUrl(from, linkMp3, `${judul}.mp3`, '', id)
              } catch (err) {
               console.error(err.message)
               await tobz.sendFileFromUrl(from, errorurl2, 'error.png', '💔️ Maaf, User tidak ditemukan')
               tobz.sendText(ownerNumber, 'Error Joox : '+ err)
             }
            break
          case '#checkip':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#checkip [ipaddress]*\nContoh : *#checkip 182.0.144.145*', id)
              tobz.reply(from, mess.wait, id)
              arg = body.trim().split(' ')
              console.log(...arg[1])
              var slicedArgs = Array.prototype.slice.call(arg, 1);
              console.log(slicedArgs)
              const cekip = await slicedArgs.join(' ')
              console.log(cekip)
              try {
              const cekip2 = await axios.get('https://mnazria.herokuapp.com/api/check?ip=' + cekip)
              const { city, continent_name, country_name, ip, latitude, location, longitude, region_name } = cekip2.data
              const cekip3 = `*User Ditemukan!*
  
  ➸ *Kota:* ${city}
  ➸ *Benua:* ${continent_name}
  ➸ *Negara:* ${country_name}
  ➸ *Ip Address:* ${ip}
  ➸ *Garis Lintang:* ${latitude}
  ➸ *Kode Telepon:* +${location.calling_code}
  ➸ *Ibu Kota:* +${location.capital}
  ➸ *Bahasa:* +${location.languages[0].name}
  ➸ *Garis Bujur:* ${longitude}
  ➸ *Wilayah:* +${region_name}`
  
              const pictk = await bent("buffer")(location.country_flag)
              const base64 = `data:image/jpg;base64,${pictk.toString("base64")}`
              tobz.sendImage(from, base64, city, cekip3)
              } catch (err) {
               console.error(err.message)
               await tobz.sendFileFromUrl(from, errorurl2, 'error.png', '💔️ Maaf, User tidak ditemukan')
               tobz.sendText(ownerNumber, 'Error Check IP : '+ err)
             }
            break
          /*case '#nhentai':
          case '#nh':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (!isNsfw) return tobz.reply(from, 'command/Perintah NSFW belum di aktifkan di group ini!', id)
              if (args.length === 2) {
                  const nuklir = body.split(' ')[1]
                  tobz.reply(from, mess.wait, id)
                  const cek = await nhentai.exists(nuklir)
                  if (cek === true)  {
                      try {
                          const api = new API()
                          const pic = await api.getBook(nuklir).then(book => {
                              return api.getImageURL(book.cover)
                          })
                          const dojin = await nhentai.getDoujin(nuklir)
                          const { title, details, link } = dojin
                          const { parodies, tags, artists, groups, languages, categories } = await details
                          var teks = `*Title* : ${title}\n\n*Parodies* : ${parodies}\n\n*Tags* : ${tags.join(', ')}\n\n*Artists* : ${artists.join(', ')}\n\n*Groups* : ${groups.join(', ')}\n\n*Languages* : ${languages.join(', ')}\n\n*Categories* : ${categories}\n\n*Link* : ${link}`
                          exec('nhentai --id=' + nuklir + ` -P mantap.pdf -o ./hentong/${nuklir}.pdf --format `+ `${nuklir}.pdf`, (error, stdout, stderr) => {
                              tobz.sendFileFromUrl(from, pic, 'hentod.jpg', teks, id).then(() => 
                              tobz.sendFile(from, `./hentong/${nuklir}.pdf/${nuklir}.pdf.pdf`, `${title}.pdf`, '', id)).catch(() => 
                              tobz.sendFile(from, `./hentong/${nuklir}.pdf/${nuklir}.pdf.pdf`, `${title}.pdf`, '', id))
                              if (error) {
                                  console.log('error : '+ error.message)
                                  return
                              }
                              if (stderr) {
                                  console.log('stderr : '+ stderr)
                                  return
                              }
                              console.log('stdout : '+ stdout)
                              })
                      } catch (err) {
                          tobz.reply(from, '[❗] Terjadi kesalahan, mungkin kode nuklir salah', id)
                      }
                  } else {
                      tobz.reply(from, '[❗] Kode nuklir Salah!')
                  }
              } else {
                  tobz.reply(from, '[ WRONG ] Kirim perintah *#nhentai [kode]* untuk contoh kirim perintah *#readme*')
              }
              break*/
          case '#brainly':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length >= 2){
                  const BrainlySearch = require('./lib/brainly')
                  let tanya = body.slice(9)
                  let jum = Number(tanya.split('.')[1]) || 2
                  if (jum > 10) return tobz.reply(from, 'Max 10!', id)
                  if (Number(tanya[tanya.length-1])){
                      tanya
                  }
                  tobz.reply(from, `➸ *Pertanyaan* : ${tanya.split('.')[0]}\n\n➸ *Jumlah jawaban* : ${Number(jum)}`, id)
                  await BrainlySearch(tanya.split('.')[0],Number(jum), function(res){
                      res.forEach(x=>{
                          if (x.jawaban.fotoJawaban.length == 0) {
                              tobz.reply(from, `➸ *Pertanyaan* : ${x.pertanyaan}\n\n➸ *Jawaban* : ${x.jawaban.judulJawaban}\n`, id)
                          } else {
                              tobz.reply(from, `➸ *Pertanyaan* : ${x.pertanyaan}\n\n➸ *Jawaban* 〙: ${x.jawaban.judulJawaban}\n\n➸ *Link foto jawaban* : ${x.jawaban.fotoJawaban.join('\n')}`, id)
                          }
                      })
                  })
              } else {
                  tobz.reply(from, 'Usage :\n!brainly [pertanyaan] [.jumlah]\n\nEx : \n!brainly NKRI .2', id)
              }
              break
          case '#math':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (args.length === 1) return tobz.reply(from, '[❗] Kirim perintah *#math [ Angka ]*\nContoh : #math 12*12\n*NOTE* :\n- Untuk Perkalian Menggunakan *\n- Untuk Pertambahan Menggunakan +\n- Untuk Pengurangan Mennggunakan -\n- Untuk Pembagian Menggunakan /')
              const mtk = body.slice(6)
              if (typeof Math_js.evaluate(mtk) !== "number") {
              tobz.reply(from, `"${mtk}", bukan angka!\n[❗] Kirim perintah *#math [ Angka ]*\nContoh : #math 12*12\n*NOTE* :\n- Untuk Perkalian Menggunakan *\n- Untuk Pertambahan Menggunakan +\n- Untuk Pengurangan Mennggunakan -\n- Untuk Pembagian Menggunakan /`, id)
          } else {
              tobz.reply(from, `*「 MATH 」*\n\n*Kalkulator*\n${mtk} = ${Math_js.evaluate(mtk)}`, id)
          }
          break
          case '#wait':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (isMedia && type === 'image' || quotedMsg && quotedMsg.type === 'image') {
                  if (isMedia) {
                      var mediaData = await decryptMedia(message, uaOverride)
                  } else {
                      var mediaData = await decryptMedia(quotedMsg, uaOverride)
                  }
                  const fetch = require('node-fetch')
                  const imgBS4 = `data:${mimetype};base64,${mediaData.toString('base64')}`
                  tobz.reply(from, 'Searching....', id)
                  fetch('https://trace.moe/api/search', {
                      method: 'POST',
                      body: JSON.stringify({ image: imgBS4 }),
                      headers: { "Content-Type": "application/json" }
                  })
                  .then(respon => respon.json())
                  .then(resolt => {
                      if (resolt.docs && resolt.docs.length <= 0) {
                          tobz.reply(from, 'Maaf, saya tidak tau ini anime apa', id)
                      }
                      const { is_adult, title, title_chinese, title_romaji, title_english, episode, similarity, filename, at, tokenthumb, anilist_id } = resolt.docs[0]
                      teks = ''
                      if (similarity < 0.92) {
                          teks = '*Saya memiliki keyakinan rendah dalam hal ini* :\n\n'
                      }
                      teks += `➸ *Title Japanese* : ${title}\n➸ *Title chinese* : ${title_chinese}\n➸ *Title Romaji* : ${title_romaji}\n➸ *Title English* : ${title_english}\n`
                      teks += `➸ *Ecchi* : ${is_adult}\n`
                      teks += `➸ *Eps* : ${episode.toString()}\n`
                      teks += `➸ *Kesamaan* : ${(similarity * 100).toFixed(1)}%\n`
                      var video = `https://media.trace.moe/video/${anilist_id}/${encodeURIComponent(filename)}?t=${at}&token=${tokenthumb}`;
                      tobz.sendFileFromUrl(from, video, 'nimek.mp4', teks, id).catch(() => {
                          tobz.reply(from, teks, id)
                      })
                  })
                  .catch(() => {
                      tobz.reply(from, 'Error !', id)
                  })
              } else {
                  tobz.sendFileFromUrl(from, tutor, 'Tutor.jpg', 'Neh contoh mhank!', id)
              }
              break
          case '#textmaker':
                  if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
                  if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
                  await limitAdd(serial)
                  arg = body.trim().split('|')
                  tobz.reply(from, '[WAIT] Sedang di proses⏳ silahkan tunggu ± 1 min!', id)
                  if ((isMedia || isQuotedImage) && arg.length >= 2) {
                  const top = arg[1]
                  const bott = arg[2]
                  const encryptMedia = isQuotedImage ? quotedMsg : message
                  const mediaData = await decryptMedia(encryptMedia, uaOverride)
                  const getUrl = await uploadImages(mediaData, false)
                  const ImageBase64 = await custom(getUrl, top, bott)
                  await tobz.sendFile(from, ImageBase64, 'image.png','neh...')
                  } else {
                  await tobz.reply(from, 'Wrong Format!', id)
                  }
                  break
          case '#quotemaker':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              arg = body.trim().split('|')
              if (arg.length >= 4) {
                  tobz.reply(from, mess.wait, id)
                  const quotes = arg[1]
                  const author = arg[2]
                  const theme = arg[3]
                  await quotemaker(quotes, author, theme).then(amsu => {
                      tobz.sendFile(from, amsu, 'quotesmaker.jpg','neh...').catch(() => {
                         tobz.reply(from, mess.error.Qm, id)
                      })
                  })
              } else {
                  tobz.reply(from, 'Usage: \n#quotemaker |teks|watermark|theme\n\nEx :\n#quotemaker |ini contoh|bicit|random', id)
              }
              break
          case '#listchannel':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              tobz.reply(from, listChannel, id)
              break
          case '#jadwaltv':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#jadwalTv [channel]*', id)
              const query = body.slice(10).toLowerCase()
              const jadwal = await jadwalTv(query)
              tobz.reply(from, jadwal, id)
              break
          case '#jadwaltvnow':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              const jadwalNow = await axios.get('https://api.haipbis.xyz/jadwaltvnow')
              tobz.reply(from, `Jam : ${jadwalNow.data.jam}\n\nJadwalTV : ${jadwalNow.data.jadwalTV}`, id)
              break
          case '#nulis':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#nulis [teks]*, contoh *#nulis aku bukan boneka*', id)
              const ngettik = body.slice(7)
              const ngetikk = await axios.get('https://mhankbarbar.herokuapp.com/nulis?text='+ ngettik+'&apiKey='+ barbarkey)
              if (ngetikk.data.error) return tobz.reply(from, ngetikk.data.error, id)
              tobz.sendFileFromUrl(from, ngetikk.data.result, 'nulis.jpg', '', id)
              break
                  case '#inu':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              const list = ["https://cdn.shibe.online/shibes/247d0ac978c9de9d9b66d72dbdc65f2dac64781d.jpg","https://cdn.shibe.online/shibes/1cf322acb7d74308995b04ea5eae7b520e0eae76.jpg","https://cdn.shibe.online/shibes/1ce955c3e49ae437dab68c09cf45297d68773adf.jpg","https://cdn.shibe.online/shibes/ec02bee661a797518d37098ab9ad0c02da0b05c3.jpg","https://cdn.shibe.online/shibes/1e6102253b51fbc116b887e3d3cde7b5c5083542.jpg","https://cdn.shibe.online/shibes/f0c07a7205d95577861eee382b4c8899ac620351.jpg","https://cdn.shibe.online/shibes/3eaf3b7427e2d375f09fc883f94fa8a6d4178a0a.jpg","https://cdn.shibe.online/shibes/c8b9fcfde23aee8d179c4c6f34d34fa41dfaffbf.jpg","https://cdn.shibe.online/shibes/55f298bc16017ed0aeae952031f0972b31c959cb.jpg","https://cdn.shibe.online/shibes/2d5dfe2b0170d5de6c8bc8a24b8ad72449fbf6f6.jpg","https://cdn.shibe.online/shibes/e9437de45e7cddd7d6c13299255e06f0f1d40918.jpg","https://cdn.shibe.online/shibes/6c32141a0d5d089971d99e51fd74207ff10751e7.jpg","https://cdn.shibe.online/shibes/028056c9f23ff40bc749a95cc7da7a4bb734e908.jpg","https://cdn.shibe.online/shibes/4fb0c8b74dbc7653e75ec1da597f0e7ac95fe788.jpg","https://cdn.shibe.online/shibes/125563d2ab4e520aaf27214483e765db9147dcb3.jpg","https://cdn.shibe.online/shibes/ea5258fad62cebe1fedcd8ec95776d6a9447698c.jpg","https://cdn.shibe.online/shibes/5ef2c83c2917e2f944910cb4a9a9b441d135f875.jpg","https://cdn.shibe.online/shibes/6d124364f02944300ae4f927b181733390edf64e.jpg","https://cdn.shibe.online/shibes/92213f0c406787acd4be252edb5e27c7e4f7a430.jpg","https://cdn.shibe.online/shibes/40fda0fd3d329be0d92dd7e436faa80db13c5017.jpg","https://cdn.shibe.online/shibes/e5c085fc427528fee7d4c3935ff4cd79af834a82.jpg","https://cdn.shibe.online/shibes/f83fa32c0da893163321b5cccab024172ddbade1.jpg","https://cdn.shibe.online/shibes/4aa2459b7f411919bf8df1991fa114e47b802957.jpg","https://cdn.shibe.online/shibes/2ef54e174f13e6aa21bb8be3c7aec2fdac6a442f.jpg","https://cdn.shibe.online/shibes/fa97547e670f23440608f333f8ec382a75ba5d94.jpg","https://cdn.shibe.online/shibes/fb1b7150ed8eb4ffa3b0e61ba47546dd6ee7d0dc.jpg","https://cdn.shibe.online/shibes/abf9fb41d914140a75d8bf8e05e4049e0a966c68.jpg","https://cdn.shibe.online/shibes/f63e3abe54c71cc0d0c567ebe8bce198589ae145.jpg","https://cdn.shibe.online/shibes/4c27b7b2395a5d051b00691cc4195ef286abf9e1.jpg","https://cdn.shibe.online/shibes/00df02e302eac0676bb03f41f4adf2b32418bac8.jpg","https://cdn.shibe.online/shibes/4deaac9baec39e8a93889a84257338ebb89eca50.jpg","https://cdn.shibe.online/shibes/199f8513d34901b0b20a33758e6ee2d768634ebb.jpg","https://cdn.shibe.online/shibes/f3efbf7a77e5797a72997869e8e2eaa9efcdceb5.jpg","https://cdn.shibe.online/shibes/39a20ccc9cdc17ea27f08643b019734453016e68.jpg","https://cdn.shibe.online/shibes/e67dea458b62cf3daa4b1e2b53a25405760af478.jpg","https://cdn.shibe.online/shibes/0a892f6554c18c8bcdab4ef7adec1387c76c6812.jpg","https://cdn.shibe.online/shibes/1b479987674c9b503f32e96e3a6aeca350a07ade.jpg","https://cdn.shibe.online/shibes/0c80fc00d82e09d593669d7cce9e273024ba7db9.jpg","https://cdn.shibe.online/shibes/bbc066183e87457b3143f71121fc9eebc40bf054.jpg","https://cdn.shibe.online/shibes/0932bf77f115057c7308ef70c3de1de7f8e7c646.jpg","https://cdn.shibe.online/shibes/9c87e6bb0f3dc938ce4c453eee176f24636440e0.jpg","https://cdn.shibe.online/shibes/0af1bcb0b13edf5e9b773e34e54dfceec8fa5849.jpg","https://cdn.shibe.online/shibes/32cf3f6eac4673d2e00f7360753c3f48ed53c650.jpg","https://cdn.shibe.online/shibes/af94d8eeb0f06a0fa06f090f404e3bbe86967949.jpg","https://cdn.shibe.online/shibes/4b55e826553b173c04c6f17aca8b0d2042d309fb.jpg","https://cdn.shibe.online/shibes/a0e53593393b6c724956f9abe0abb112f7506b7b.jpg","https://cdn.shibe.online/shibes/7eba25846f69b01ec04de1cae9fed4b45c203e87.jpg","https://cdn.shibe.online/shibes/fec6620d74bcb17b210e2cedca72547a332030d0.jpg","https://cdn.shibe.online/shibes/26cf6be03456a2609963d8fcf52cc3746fcb222c.jpg","https://cdn.shibe.online/shibes/c41b5da03ad74b08b7919afc6caf2dd345b3e591.jpg","https://cdn.shibe.online/shibes/7a9997f817ccdabac11d1f51fac563242658d654.jpg","https://cdn.shibe.online/shibes/7221241bad7da783c3c4d84cfedbeb21b9e4deea.jpg","https://cdn.shibe.online/shibes/283829584e6425421059c57d001c91b9dc86f33b.jpg","https://cdn.shibe.online/shibes/5145c9d3c3603c9e626585cce8cffdfcac081b31.jpg","https://cdn.shibe.online/shibes/b359c891e39994af83cf45738b28e499cb8ffe74.jpg","https://cdn.shibe.online/shibes/0b77f74a5d9afaa4b5094b28a6f3ee60efcb3874.jpg","https://cdn.shibe.online/shibes/adccfdf7d4d3332186c62ed8eb254a49b889c6f9.jpg","https://cdn.shibe.online/shibes/3aac69180f777512d5dabd33b09f531b7a845331.jpg","https://cdn.shibe.online/shibes/1d25e4f592db83039585fa480676687861498db8.jpg","https://cdn.shibe.online/shibes/d8349a2436420cf5a89a0010e91bf8dfbdd9d1cc.jpg","https://cdn.shibe.online/shibes/eb465ef1906dccd215e7a243b146c19e1af66c67.jpg","https://cdn.shibe.online/shibes/3d14e3c32863195869e7a8ba22229f457780008b.jpg","https://cdn.shibe.online/shibes/79cedc1a08302056f9819f39dcdf8eb4209551a3.jpg","https://cdn.shibe.online/shibes/4440aa827f88c04baa9c946f72fc688a34173581.jpg","https://cdn.shibe.online/shibes/94ea4a2d4b9cb852e9c1ff599f6a4acfa41a0c55.jpg","https://cdn.shibe.online/shibes/f4478196e441aef0ada61bbebe96ac9a573b2e5d.jpg","https://cdn.shibe.online/shibes/96d4db7c073526a35c626fc7518800586fd4ce67.jpg","https://cdn.shibe.online/shibes/196f3ed10ee98557328c7b5db98ac4a539224927.jpg","https://cdn.shibe.online/shibes/d12b07349029ca015d555849bcbd564d8b69fdbf.jpg","https://cdn.shibe.online/shibes/80fba84353000476400a9849da045611a590c79f.jpg","https://cdn.shibe.online/shibes/94cb90933e179375608c5c58b3d8658ef136ad3c.jpg","https://cdn.shibe.online/shibes/8447e67b5d622ef0593485316b0c87940a0ef435.jpg","https://cdn.shibe.online/shibes/c39a1d83ad44d2427fc8090298c1062d1d849f7e.jpg","https://cdn.shibe.online/shibes/6f38b9b5b8dbf187f6e3313d6e7583ec3b942472.jpg","https://cdn.shibe.online/shibes/81a2cbb9a91c6b1d55dcc702cd3f9cfd9a111cae.jpg","https://cdn.shibe.online/shibes/f1f6ed56c814bd939645138b8e195ff392dfd799.jpg","https://cdn.shibe.online/shibes/204a4c43cfad1cdc1b76cccb4b9a6dcb4a5246d8.jpg","https://cdn.shibe.online/shibes/9f34919b6154a88afc7d001c9d5f79b2e465806f.jpg","https://cdn.shibe.online/shibes/6f556a64a4885186331747c432c4ef4820620d14.jpg","https://cdn.shibe.online/shibes/bbd18ae7aaf976f745bc3dff46b49641313c26a9.jpg","https://cdn.shibe.online/shibes/6a2b286a28183267fca2200d7c677eba73b1217d.jpg","https://cdn.shibe.online/shibes/06767701966ed64fa7eff2d8d9e018e9f10487ee.jpg","https://cdn.shibe.online/shibes/7aafa4880b15b8f75d916b31485458b4a8d96815.jpg","https://cdn.shibe.online/shibes/b501169755bcf5c1eca874ab116a2802b6e51a2e.jpg","https://cdn.shibe.online/shibes/a8989bad101f35cf94213f17968c33c3031c16fc.jpg","https://cdn.shibe.online/shibes/f5d78feb3baa0835056f15ff9ced8e3c32bb07e8.jpg","https://cdn.shibe.online/shibes/75db0c76e86fbcf81d3946104c619a7950e62783.jpg","https://cdn.shibe.online/shibes/8ac387d1b252595bbd0723a1995f17405386b794.jpg","https://cdn.shibe.online/shibes/4379491ef4662faa178f791cc592b52653fb24b3.jpg","https://cdn.shibe.online/shibes/4caeee5f80add8c3db9990663a356e4eec12fc0a.jpg","https://cdn.shibe.online/shibes/99ef30ea8bb6064129da36e5673649e957cc76c0.jpg","https://cdn.shibe.online/shibes/aeac6a5b0a07a00fba0ba953af27734d2361fc10.jpg","https://cdn.shibe.online/shibes/9a217cfa377cc50dd8465d251731be05559b2142.jpg","https://cdn.shibe.online/shibes/65f6047d8e1d247af353532db018b08a928fd62a.jpg","https://cdn.shibe.online/shibes/fcead395cbf330b02978f9463ac125074ac87ab4.jpg","https://cdn.shibe.online/shibes/79451dc808a3a73f99c339f485c2bde833380af0.jpg","https://cdn.shibe.online/shibes/bedf90869797983017f764165a5d97a630b7054b.jpg","https://cdn.shibe.online/shibes/dd20e5801badd797513729a3645c502ae4629247.jpg","https://cdn.shibe.online/shibes/88361ee50b544cb1623cb259bcf07b9850183e65.jpg","https://cdn.shibe.online/shibes/0ebcfd98e8aa61c048968cb37f66a2b5d9d54d4b.jpg"]
              let kya = list[Math.floor(Math.random() * list.length)]
              tobz.sendFileFromUrl(from, kya, 'Dog.jpeg', 'Inu')
              break
          case '#qrcode':
             if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
          if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
             if(!args.lenght >= 2) return
             let qrcodes = body.slice(8)
             await tobz.sendFileFromUrl(from, `https://api.qrserver.com/v1/create-qr-code/?size=500x500&data=${qrcodes}`, 'gambar.png', 'Process sukses!')
             break
          case '#ptl':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              const pptl = ["https://i.pinimg.com/564x/b2/84/55/b2845599d303a4f8fc4f7d2a576799fa.jpg","https://i.pinimg.com/236x/98/08/1c/98081c4dffde1c89c444db4dc1912d2d.jpg","https://i.pinimg.com/236x/a7/e2/fe/a7e2fee8b0abef9d9ecc8885557a4e91.jpg","https://i.pinimg.com/236x/ee/ae/76/eeae769648dfaa18cac66f1d0be8c160.jpg","https://i.pinimg.com/236x/b2/84/55/b2845599d303a4f8fc4f7d2a576799fa.jpg","https://i.pinimg.com/564x/78/7c/49/787c4924083a9424a900e8f1f4fdf05f.jpg","https://i.pinimg.com/236x/eb/05/dc/eb05dc1c306f69dd43b7cae7cbe03d27.jpg","https://i.pinimg.com/236x/d0/1b/40/d01b40691c68b84489f938b939a13871.jpg","https://i.pinimg.com/236x/31/f3/06/31f3065fa218856d7650e84b000d98ab.jpg","https://i.pinimg.com/236x/4a/e5/06/4ae5061a5c594d3fdf193544697ba081.jpg","https://i.pinimg.com/236x/56/45/dc/5645dc4a4a60ac5b2320ce63c8233d6a.jpg","https://i.pinimg.com/236x/7f/ad/82/7fad82eec0fa64a41728c9868a608e73.jpg","https://i.pinimg.com/236x/ce/f8/aa/cef8aa0c963170540a96406b6e54991c.jpg","https://i.pinimg.com/236x/77/02/34/77023447b040aef001b971e0defc73e3.jpg","https://i.pinimg.com/236x/4a/5c/38/4a5c38d39687f76004a097011ae44c7d.jpg","https://i.pinimg.com/236x/41/72/af/4172af2053e54ec6de5e221e884ab91b.jpg","https://i.pinimg.com/236x/26/63/ef/2663ef4d4ecfc935a6a2b51364f80c2b.jpg","https://i.pinimg.com/236x/2b/cb/48/2bcb487b6d398e8030814c7a6c5a641d.jpg","https://i.pinimg.com/236x/62/da/23/62da234d941080696428e6d4deec6d73.jpg","https://i.pinimg.com/236x/d4/f3/40/d4f340e614cc4f69bf9a31036e3d03c5.jpg","https://i.pinimg.com/236x/d4/97/dd/d497dd29ca202be46111f1d9e62ffa65.jpg","https://i.pinimg.com/564x/52/35/66/523566d43058e26bf23150ac064cfdaa.jpg","https://i.pinimg.com/236x/36/e5/27/36e52782f8d10e4f97ec4dbbc97b7e67.jpg","https://i.pinimg.com/236x/02/a0/33/02a033625cb51e0c878e6df2d8d00643.jpg","https://i.pinimg.com/236x/30/9b/04/309b04d4a498addc6e4dd9d9cdfa57a9.jpg","https://i.pinimg.com/236x/9e/1d/ef/9e1def3b7ce4084b7c64693f15b8bea9.jpg","https://i.pinimg.com/236x/e1/8f/a2/e18fa21af74c28e439f1eb4c60e5858a.jpg","https://i.pinimg.com/236x/22/d9/22/22d9220de8619001fe1b27a2211d477e.jpg","https://i.pinimg.com/236x/af/ac/4d/afac4d11679184f557d9294c2270552d.jpg","https://i.pinimg.com/564x/52/be/c9/52bec924b5bdc0d761cfb1160865b5a1.jpg","https://i.pinimg.com/236x/1a/5a/3c/1a5a3cffd0d936cd4969028668530a15.jpg"]
              let pep = pptl[Math.floor(Math.random() * pptl.length)]
              tobz.sendFileFromUrl(from, pep, 'pptl.jpg', 'Follow ig : https://www.instagram.com/ptl_repost untuk mendapatkan penyegar timeline lebih banyak', message.id)
              break
          case '#neko':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              q2 = Math.floor(Math.random() * 900) + 300;
              q3 = Math.floor(Math.random() * 900) + 300;
              tobz.sendFileFromUrl(from, 'http://placekitten.com/'+q3+'/'+q2, 'neko.png','Neko ')
              break
          case '#pokemon':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              q7 = Math.floor(Math.random() * 890) + 1;
              tobz.sendFileFromUrl(from, 'https://assets.pokemon.com/assets/cms2/img/pokedex/full/'+q7+'.png','Pokemon.png',)
              break
          case '#quote':
          case '#quotes':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              const quotez2 = await axios.get('https://mhankbarbar.herokuapp.com/api/randomquotes')
              tobz.reply(from, `➸ *Quotes* : ${quotez2.data.quotes}\n➸ *Author* : ${quotez2.data.author}`, id)
              break
          case '#lirik':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length == 1) return tobz.reply(from, 'Kirim perintah *#lirik [optional]*, contoh *#lirik aku bukan boneka*', id)
              const lagu = body.slice(7)
              const lirik = await liriklagu(lagu)
              tobz.reply(from, lirik, id)
              break
          case '#chord':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (isLimit(serial)) return tobz.reply(from, `Maaf ${pushname}, Kuota Limit Kamu Sudah Habis, Ketik #limit Untuk Mengecek Kuota Limit Kamu`, id)
              
              await limitAdd(serial)
              if (args.length === 1) return tobz.reply(from, 'Kirim perintah *#chord [query]*, contoh *#chord aku bukan boneka*', id)
              const query__ = body.slice(7)
              const chord = await axios.get('https://mhankbarbar.herokuapp.com/api/chord?q='+ query__+'&apiKey='+ barbarkey)
              if (chord.data.error) return tobz.reply(from, chord.data.error, id)
              tobz.reply(from, chord.data.result, id)
              break
          case '#listdaerah':
              if (!isGroupMsg) return tobz.reply(from, `Perintah ini hanya bisa di gunakan dalam group!`, id)
              const listDaerah = await axios.get('https://mhankbarbar.herokuapp.com/daerah')
              tobz.reply(from, listDaerah.data.result, id)
              break
          // ADMIN & OWNER
          case '#bc': // KASIH CREDIT DONG KALO COPAS
              if (!isOwner) return tobz.reply(from, `Perintah ini hanya untuk Owner REV`, id)
                  bctxt = body.slice(4)
                  txtbc = `*「 REV BROADCAST 」*\n\n${bctxt}`
                  const semuagrup = await tobz.getAllChatIds();
                  if(quotedMsg && quotedMsg.type == 'image'){
                      const mediaData = await decryptMedia(quotedMsg)
                      const imageBase64 = `data:${quotedMsg.mimetype};base64,${mediaData.toString('base64')}`
                      for(let grupnya of semuagrup){
                          var cekgrup = await tobz.getChatById(grupnya)
                          if(!cekgrup.isReadOnly) tobz.sendImage(grupnya, imageBase64, 'gambar.jpeg', txtbc)
                      }
                      tobz.reply('Broadcast sukses!')
                  }else{
                      for(let grupnya of semuagrup){
                          var cekgrup = await tobz.getChatById(grupnya)
                          if(!cekgrup.isReadOnly && isMuted(grupnya)) tobz.sendText(grupnya, txtbc)
                      }
                              tobz.reply('Broadcast Success!')
                  }
                  break
          case '#adminlist':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              let mimin = ''
              for (let admon of groupAdmins) {
                  mimin += `➸ @${admon.replace(/@c.us/g, '')}\n` 
              }
              await sleep(2000)
              await tobz.sendTextWithMentions(from, mimin)
              break
          case '#ownergroup':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              const Owner_ = chat.groupMetadata.owner
              await tobz.sendTextWithMentions(from, `Owner Group : @${Owner_}`)
              break
          case '#otagall': // FOR OWNER & ADMIN REV
          case '#omentionall':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (!isOwner, !isAdmin) return tobz.reply(from, 'Perintah ini hanya untuk Owner REV', id)
              const groupMek = await tobz.getGroupMembers(groupId)
              let heho = '╔══✪〘 Mention All 〙✪══\n'
              for (let i = 0; i < groupMek.length; i++) {
                  heho += '╠➥'
                  heho += ` @${groupMek[i].id.replace(/@c.us/g, '')}\n`
              }
              heho += '╚═〘 REV BOT 〙'
              await sleep(2000)
              await tobz.sendTextWithMentions(from, heho)
              break
          case '#tagall': // FOR GROUP ADMINS
          case '#mentionall':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (!isGroupAdmins) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan oleh admin group', id)
              const groupMem = await tobz.getGroupMembers(groupId)
              let hehe = '╔══✪〘 Mention All 〙✪══\n'
              for (let i = 0; i < groupMem.length; i++) {
                  hehe += '╠➥'
                  hehe += ` @${groupMem[i].id.replace(/@c.us/g, '')}\n`
              }
              hehe += '╚═〘 REV KATO BOT 〙'
              await sleep(2000)
              await tobz.sendTextWithMentions(from, hehe)
              break
          case '#ekickall':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (!isOwner) return tobz.reply(from, 'Perintah ini hanya untuk Owner REV', id)
              if (!isBotGroupAdmins) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan ketika bot menjadi admin', id)
              const allMem = await tobz.getGroupMembers(groupId)
              for (let i = 0; i < allMem.length; i++) {
                  if (ownerNumber.includes(allMem[i].id)) {
                      console.log('Upss this is Admin group')
                  } else {
                      await tobz.removeParticipant(groupId, allMem[i].id)
                  }
              }
              tobz.reply(from, 'Success kick all member', id)
              break
          case '#okickall':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (!isOwner) return tobz.reply(from, 'Perintah ini hanya untuk Admin REV', id)
              if (!isBotGroupAdmins) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan ketika bot menjadi admin', id)
              const allMeq = await tobz.getGroupMembers(groupId)
              for (let i = 0; i < allMeq.length; i++) {
                  if ((adminNumber, ownerNumber).includes(allMeq[i].id)) {
                      console.log('Upss this is Admin group')
                  } else {
                      await tobz.removeParticipant(groupId, allMeq[i].id)
                  }
              }
              tobz.reply(from, 'Succes kick all member', id)
              break
          case '#kickall':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              const isGroupOwner = sender.id === chat.groupMetadata.owner
              if (!isGroupOwner) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan oleh Owner group', id)
              if (!isBotGroupAdmins) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan ketika bot menjadi admin', id)
              const allMek = await tobz.getGroupMembers(groupId)
              for (let i = 0; i < allMek.length; i++) {
                  if ((adminNumber, ownerNumber).includes(allMek[i].id)) {
                      console.log('Upss this is Admin group')
                  } else {
                      await tobz.removeParticipant(groupId, allMek[i].id)
                  }
              }
              tobz.reply(from, 'Success kick all member', id)
              break
          case '#leaveall':
              if (!isOwner) return tobz.reply(from, 'Perintah ini hanya untuk Owner REV', id)
              const allChats = await tobz.getAllChatIds()
              const allGroups = await tobz.getAllGroups()
              for (let gclist of allGroups) {
                  await tobz.sendText(gclist.contact.id, `Maaf bot sedang pembersihan, total chat aktif : ${allChats.length}`)
                  await tobz.leaveGroup(gclist.contact.id)
              }
              tobz.reply(from, 'Succes leave all group!', id)
              break
          case '#clearall':
              if (!isOwner) return tobz.reply(from, 'Perintah ini hanya untuk Owner REV', id)
              const allChatz = await tobz.getAllChats()
              for (let dchat of allChatz) {
                  await tobz.deleteChat(dchat.id)
              }
              tobz.reply(from, 'Succes clear all chat!', id)
              break
          case '#oadd':
              const orang = args[1]
              if (!isGroupMsg) return tobz.reply(from, 'Fitur ini hanya bisa di gunakan dalam group', id)
              if (args.length === 1) return tobz.reply(from, 'Untuk menggunakan fitur ini, kirim perintah *#add* 628xxxxx', id)
              if (!isOwner, !isAdmin) return tobz.reply(from, 'Perintah ini hanya untuk Admin REV', id)
              if (!isBotGroupAdmins) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan ketika bot menjadi admin', id)
              try {
                  await tobz.addParticipant(from,`${orang}@c.us`)
              } catch {
                  tobz.reply(from, mess.error.Ad, id)
              }
              break
          case '#add':
              const orgh = body.slice(5)
              if (!isGroupMsg) return tobz.reply(from, 'Fitur ini hanya bisa di gunakan dalam group', id)
              if (args.length === 1) return tobz.reply(from, 'Untuk menggunakan fitur ini, kirim perintah *#add* 628xxxxx', id)
              if (!isGroupAdmins) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan oleh admin group', id)
              if (!isBotGroupAdmins) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan ketika bot menjadi admin', id)
              try {
                  await tobz.addParticipant(from,`${orgh}@c.us`)
              } catch {
                  tobz.reply(from, mess.error.Ad, id)
              }
              break
          case '#okick':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group', id)
              if (!isOwner) return tobz.reply(from, 'Perintah ini hanya untuk Owner REV', id)
              if (!isBotGroupAdmins) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan ketika bot menjadi admin', id)
              if (mentionedJidList.length === 0) return tobz.reply(from, 'Untuk menggunakan Perintah ini, kirim perintah *#okick* @tagmember', id)
              await tobz.sendText(from, `Perintah Owner diterima, mengeluarkan:\n${mentionedJidList.join('\n')}`)
              for (let i = 0; i < mentionedJidList.length; i++) {
                  if ((adminNumber, ownerNumber).includes(mentionedJidList[i])) return tobz.reply(from, mess.error.Sp, id)
                  await tobz.removeParticipant(groupId, mentionedJidList[i])
              }
              break
          case '#kick':
              if (!isGroupMsg) return tobz.reply(from, 'Fitur ini hanya bisa di gunakan dalam group', id)
              if (!isGroupAdmins) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan oleh admin group', id)
              if (!isBotGroupAdmins) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan ketika bot menjadi admin', id)
              if (mentionedJidList.length === 0) return tobz.reply(from, 'Untuk menggunakan Perintah ini, kirim perintah *#kick* @tagmember', id)
              await tobz.sendText(from, `Perintah diterima, mengeluarkan:\n${mentionedJidList.join('\n')}`)
              for (let i = 0; i < mentionedJidList.length; i++) {
                  if ((adminNumber, groupAdmins).includes(mentionedJidList[i])) return tobz.reply(from, mess.error.Sp, id)
                  await tobz.removeParticipant(groupId, mentionedJidList[i])
              }
              break
          case '#oleave':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group', id)
              if (!isOwner, !isAdmin) return tobz.reply(from, 'Perintah ini hanya untuk Admin REV', id)
              await tobz.sendText(from,'REV DIPERINTAHKAN KELUAR OLEH OWNER!!').then(() => tobz.leaveGroup(groupId))
              break
          case '#leave':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group', id)
              if (!isGroupAdmins) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan oleh admin group', id)
              await tobz.sendText(from,'Sayonara').then(() => tobz.leaveGroup(groupId))
              break
          case '#opromote':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group', id)
              if (!isOwner, !isAdmin) return tobz.reply(from, 'Perintah ini hanya untuk Admin REV', id)
              if (!isBotGroupAdmins) return tobz.reply(from, 'Fitur ini hanya bisa di gunakan ketika bot menjadi admin', id)
              if (mentionedJidList.length === 0) return tobz.reply(from, 'Untuk menggunakan fitur ini, kirim perintah *#promote* @tagmember', id)
              if (mentionedJidList.length >= 2) return tobz.reply(from, 'Maaf, perintah ini hanya dapat digunakan kepada 1 user.', id)
              if (groupAdmins.includes(mentionedJidList[0])) return tobz.reply(from, 'Maaf, user tersebut sudah menjadi admin.', id)
              await tobz.promoteParticipant(groupId, mentionedJidList[0])
              await tobz.sendTextWithMentions(from, `Perintah Owner diterima, menambahkan @${mentionedJidList[0]} sebagai admin.`)
              break
          case '#promote':
              if (!isGroupMsg) return tobz.reply(from, 'Fitur ini hanya bisa di gunakan dalam group', id)
              if (!isGroupAdmins) return tobz.reply(from, 'Fitur ini hanya bisa di gunakan oleh admin group', id)
              if (!isBotGroupAdmins) return tobz.reply(from, 'Fitur ini hanya bisa di gunakan ketika bot menjadi admin', id)
              if (mentionedJidList.length === 0) return tobz.reply(from, 'Untuk menggunakan fitur ini, kirim perintah *#promote* @tagmember', id)
              if (mentionedJidList.length >= 2) return tobz.reply(from, 'Maaf, perintah ini hanya dapat digunakan kepada 1 user.', id)
              if (groupAdmins.includes(mentionedJidList[0])) return tobz.reply(from, 'Maaf, user tersebut sudah menjadi admin.', id)
              await tobz.promoteParticipant(groupId, mentionedJidList[0])
              await tobz.sendTextWithMentions(from, `Perintah diterima, menambahkan @${mentionedJidList[0]} sebagai admin.`)
              break
          case '#odemote':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group', id)
              if (!isOwner, !isAdmin) return tobz.reply(from, 'Perintah ini hanya untuk Admin REV', id)
              if (!isBotGroupAdmins) return tobz.reply(from, 'Fitur ini hanya bisa di gunakan ketika bot menjadi admin', id)
              if (mentionedJidList.length === 0) return tobz.reply(from, 'Untuk menggunakan fitur ini, kirim perintah *#demote* @tagadmin', id)
              if (mentionedJidList.length >= 2) return tobz.reply(from, 'Maaf, perintah ini hanya dapat digunakan kepada 1 orang.', id)
              if (!groupAdmins.includes(mentionedJidList[0])) return tobz.reply(from, 'Maaf, user tersebut tidak menjadi admin.', id)
              await tobz.demoteParticipant(groupId, mentionedJidList[0])
              await tobz.sendTextWithMentions(from, `Perintah Owner diterima, menghapus jabatan @${mentionedJidList[0]}.`)
              break
          case '#demote':
              if (!isGroupMsg) return tobz.reply(from, 'Fitur ini hanya bisa di gunakan dalam group', id)
              if (!isGroupAdmins) return tobz.reply(from, 'Fitur ini hanya bisa di gunakan oleh admin group', id)
              if (!isBotGroupAdmins) return tobz.reply(from, 'Fitur ini hanya bisa di gunakan ketika bot menjadi admin', id)
              if (mentionedJidList.length === 0) return tobz.reply(from, 'Untuk menggunakan fitur ini, kirim perintah *#demote* @tagadmin', id)
              if (mentionedJidList.length >= 2) return tobz.reply(from, 'Maaf, perintah ini hanya dapat digunakan kepada 1 orang.', id)
              if (!groupAdmins.includes(mentionedJidList[0])) return tobz.reply(from, 'Maaf, user tersebut tidak menjadi admin.', id)
              await tobz.demoteParticipant(groupId, mentionedJidList[0])
              await tobz.sendTextWithMentions(from, `Perintah diterima, menghapus jabatan @${mentionedJidList[0]}.`)
              break
          case '#join':
              if (args.length === 1) return tobz.reply(from, 'Hanya Owner yang bisa memasukan Bot ke dalam Grup!', id)
              if (!isOwner) return tobz.reply(from, 'Perintah ini hanya untuk Owner REV', id)
              const link = body.slice(6)
              const tGr = await tobz.getAllGroups()
              const minMem = 5
              const isLink = link.match(/(https:\/\/chat.whatsapp.com)/gi)
              const check = await tobz.inviteInfo(link)
              if (!isLink) return tobz.reply(from, 'Ini link? 👊🤬', id)
              if (tGr.length > 256) return tobz.reply(from, 'Maaf jumlah group sudah maksimal!', id)
              if (check.size < minMem) return tobz.reply(from, 'Member group tidak melebihi 5, bot tidak bisa masuk', id)
              if (check.status === 200) {
                  await tobz.joinGroupViaLink(link).then(() => tobz.reply(from, 'Bot akan segera masuk!'))
              } else {
                  tobz.reply(from, 'Link group tidak valid!', id)
              }
              break
          case '#odelete':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group', id)
              if (!isOwner, !isAdmin) return tobz.reply(from, 'Perintah ini hanya untuk Admin REV', id)
              if (!quotedMsg) return tobz.reply(from, 'Salah!!, kirim perintah *#delete [tagpesanbot]*', id)
              if (!quotedMsgObj.fromMe) return tobz.reply(from, 'Salah!!, Bot tidak bisa mengahpus chat user lain!', id)
              tobz.deleteMessage(quotedMsgObj.chatId, quotedMsgObj.id, false)
              break
          case '#delete':
              if (!isGroupMsg) return tobz.reply(from, 'Fitur ini hanya bisa di gunakan dalam group', id)
              if (!isGroupAdmins) return tobz.reply(from, 'Fitur ini hanya bisa di gunakan oleh admin group', id)
              if (!quotedMsg) return tobz.reply(from, 'Salah!!, kirim perintah *#delete [tagpesanbot]*', id)
              if (!quotedMsgObj.fromMe) return tobz.reply(from, 'Salah!!, Bot tidak bisa mengahpus chat user lain!', id)
              tobz.deleteMessage(quotedMsgObj.chatId, quotedMsgObj.id, false)
              break
          case '#getses':
              if (!isOwner) return tobz.reply(from, 'Perintah ini hanya untuk Owner REV', id)            
              const sesPic = await tobz.getSnapshot()
              tobz.sendFile(from, sesPic, 'session.png', 'Nih boss', id)
              break
          case '#REVadmin':
              let admn = `This is list of REV Admin\nTotal : ${adminNumber.length}\n`
              for (let i of adminNumber) {
                  admn += `➸ ${i.replace(/@c.us/g,'')}\n`
              }
              await tobz.reply(from, admn, id)
              break
          case '#limit':
              var found = false
              const limidat = JSON.parse(fs.readFileSync('./lib/database/limit.json'))
              for(let lmt of limidat){
                  if(lmt.id === serial){
                      let limitCounts = limitCount-lmt.limit
                      if(limitCounts <= 0) return tobz.reply(from, `Limit request anda sudah habis\n\n_Note : Limit akan direset setiap jam 21:00!_`, id)
                      tobz.reply(from, `Sisa limit request anda tersisa : *${limitCounts}*\n\n_Note : Limit akan direset setiap jam 21:00!_`, id)
                      found = true
                  }
              }
              console.log(limit)
              console.log(limidat)
              if (found === false){
                  let obj = {id: `${serial}`, limit:1};
                  limit.push(obj);
                  fs.writeFileSync('./lib/database/limit.json',JSON.stringify(limit, 1));
                  tobz.reply(from, `Sisa limit request anda tersisa : *${limitCount}*\n\n_Note : Limit akan direset setiap jam 21:00!_`, id)
              }
              break
          case '#restart': // WORK IF YOU RUN USING PM2
              if(isOwner){
                  tobz.sendText(from, '*[WARN]* Restarting ...')
                  setting.restartState = true
                  setting.restartId = chatId
                  var obj = []
                  //fs.writeFileSync('./lib/setting.json', JSON.stringify(obj, null,2));
                  fs.writeFileSync('./lib/database/limit.json', JSON.stringify(obj));
                  fs.writeFileSync('./lib/database/muted.json', JSON.stringify(obj));
                  fs.writeFileSync('./lib/database/msgLimit.json', JSON.stringify(obj));
                  fs.writeFileSync('./lib/database/banned.json', JSON.stringify(obj));
                  fs.writeFileSync('./lib/database/welcome.json', JSON.stringify(obj));
                  fs.writeFileSync('./lib/database/left.json', JSON.stringify(obj));
                  fs.writeFileSync('./lib/database/Simsimi.json', JSON.stringify(obj));
                  fs.writeFileSync('./lib/database/nsfwz.json', JSON.stringify(obj));
                  const spawn = require('child_process').exec;
                  function os_func() {
                      this.execCommand = function (command) {
                          return new Promise((resolve, reject)=> {
                          spawn(command, (error, stdout, stderr) => {
                              if (error) {
                                  reject(error);
                                  return;
                              }
                              resolve(stdout)
                          });
                      })
                  }}
                  var oz = new os_func();
                  oz.execCommand('pm2 restart index').then(res=> {
                  }).catch(err=> {
                      console.log("os >>>", err);
                  })
              }
              break
          case '#addadmin':
              if (!isOwner) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan oleh Owner REV!', id)
                  for (let i = 0; i < mentionedJidList.length; i++) {
                  adminNumber.push(mentionedJidList[i])
                  fs.writeFileSync('./lib/database/admin.json', JSON.stringify(adminNumber))
                  tobz.reply(from, 'Success Menambahkan Admin REV!', id)
                  }
              break
          case '#deladmin':
              if (!isOwner) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan oleh Owner REV!', id)
                  let inq = adminNumber.indexOf(mentionedJidList[0])
                  adminNumber.splice(inq, 1)
                  fs.writeFileSync('./lib/database/admin.json', JSON.stringify(adminNumber))
                  tobz.reply(from, 'Success Menghapus Admin REV!', id)
              break
          case '#block':
              if (!isOwner) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan oleh Owner REV!', id)
              for (let i = 0; i < mentionedJidList.length; i++) {
                  let unblock = `${mentionedJidList[i]}`
                  await tobz.contactBlock(unblock).then((a)=>{
                      console.log(a)
                      tobz.reply(from, `Success block ${args[1]}!`, id)
                  })
              }
              break
          case '#unblock':
              if (!isOwner) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan oleh Owner REV!', id)
              for (let i = 0; i < mentionedJidList.length; i++) {
                  let unblock = `${mentionedJidList[i]}`
                  await tobz.contactUnblock(unblock).then((a)=>{
                      console.log(a)
                      tobz.reply(from, `Success unblok ${args[1]}!`, id)
                  })
              } 
              break
          case '#ban':
              if (!isAdmin) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan oleh admin REV!', id)
                  for (let i = 0; i < mentionedJidList.length; i++) {
                  banned.push(mentionedJidList[i])
                  fs.writeFileSync('./lib/database/banned.json', JSON.stringify(banned))
                  tobz.reply(from, 'Succes ban target!',id)
              }
              break
          case '#unban':
              if (!isAdmin) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan oleh admin REV!', id)
                  let inz = banned.indexOf(mentionedJidList[0])
                  banned.splice(inz, 1)
                  fs.writeFileSync('./lib/database/banned.json', JSON.stringify(banned))
                  tobz.reply(from, 'Unbanned User!', id)
              break
          case '#listgroup':
                  tobz.getAllGroups().then((res) => {
                  let berhitung1 = 1
                  let gc = `*This is list of group* :\n`
                  for (let i = 0; i < res.length; i++) {
                      gc += `\n═════════════════\n\n*No : ${i+1}*\n*Nama* : ${res[i].name}\n*Pesan Belum Dibaca* : ${res[i].unreadCount} chat\n*Tidak Spam* : ${res[i].notSpam}\n`
                  }
                  tobz.reply(from, gc, id)
              })
              break
          case '#listbanned':
              let bened = `This is list of banned number\nTotal : ${banned.length}\n`
              for (let i of banned) {
                  bened += `➸ ${i.replace(/@c.us/g,'')}\n`
              }
              await tobz.reply(from, bened, id)
              break
          case '#listblock':
              let hih = `This is list of blocked number\nTotal : ${blockNumber.length}\n`
              for (let i of blockNumber) {
                  hih += `➸ ${i.replace(/@c.us/g,'')}\n`
              }
              await tobz.reply(from, hih, id)
              break
          case '#ping':
              const loadedMsg = await tobz.getAmountOfLoadedMessages()
              const chatIds = await tobz.getAllChatIds()
              const groups = await tobz.getAllGroups()
              const timestamp = speed();
              const latensi = speed() - timestamp
              tobz.sendText(from, `Penggunaan RAM: *${(process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2)}MB / ${Math.round(require('os').totalmem / 1024 / 1024)}MB*\nCPU: *${os.cpus().length}*\n\nStatus :\n- *${loadedMsg}* Loaded Messages\n- *${groups.length}* Group Chats\n- *${chatIds.length - groups.length}* Personal Chats\n- *${chatIds.length}* Total Chats\n\nSpeed: ${latensi.toFixed(4)} _Second_`)
              break
          case '#setgroupicon':
              if (!isGroupMsg) return tobz.reply(from, `Fitur ini hanya bisa di gunakan dalam group`, id)
              if (!isGroupAdmins) return tobz.reply(from, `Fitur ini hanya bisa di gunakan oleh admin group`, id)
              if (!isBotGroupAdmins) return tobz.reply(from, `Fitur ini hanya bisa di gunakan ketika bot menjadi admin`, id)
              if (isMedia) {
                  const mediaData = await decryptMedia(message)
                  const imageBase64 = `data:${mimetype};base64,${mediaData.toString('base64')}`
                  await tobz.setGroupIcon(from, imageBase64)
                  tobz.sendTextWithMentions(from, `Profile group telah diubah oleh admin @${sender.id.replace('@c.us','')}`)
              } else if (quotedMsg && quotedMsg.type == 'image') {
                  const mediaData = await decryptMedia(quotedMsg)
                  const imageBase64 = `data:${quotedMsg.mimetype};base64,${mediaData.toString('base64')}`
                  await tobz.setGroupIcon(from, imageBase64)
                  tobz.sendTextWithMentions(from, `Profile group telah diubah oleh admin @${sender.id.replace('@c.us','')}`)
              } else {
                  tobz.reply(from, `Wrong Format!\n⚠️ Harap Kirim Gambar Dengan #setgroupicon`, id)
              }
              break
          case '#bugreport':
              if (args.length === 1) return tobz.reply(from, '[❗] Kirim perintah *#bugreport [teks]*\ncontoh : *#bugreport Permisi Owner, Ada bug pada command #otakudesu, Tolong diperbaiki*')
              const bug = body.slice(11)
              if(!bug) return
              if(isGroupMsg){
                  tobz.sendText(ownerNumber, `*[BUG REPORT]*\n*WAKTU* : ${time}\nNO PENGIRIM : wa.me/${sender.id.match(/\d+/g)}\nGroup : ${formattedTitle}\n\n${bug}`)
                  tobz.reply(from, 'Masalah telah di laporkan ke owner BOT, laporan palsu/main2 tidak akan ditanggapi.' ,id)
              }else{
                  tobz.sendText(ownerNumber, `*[BUG REPORT]*\n*WAKTU* : ${time}\nNO PENGIRIM : wa.me/${sender.id.match(/\d+/g)}\n\n${bug}`)
                  tobz.reply(from, 'Masalah telah di laporkan ke owner BOT, laporan palsu/main2 tidak akan ditanggapi.', id)
              }
              break
           case '#profile':
              if (isBanned, isBlocked) return false
              if (isGroupMsg) {
                  if (!quotedMsg) {
                  var block = blockNumber.includes(author)
                  var bend = banned.includes(author)
                  var pic = await tobz.getProfilePicFromServer(author)
                  var namae = pushname
                  var sts = await tobz.getStatus(author)
                  var adm = isGroupAdmins
                  var donate = isAdmin
                  const { status } = sts
                  if (pic == undefined) {
                      var pfp = errorurl 
                  } else {
                      var pfp = pic
                  } 
                  await tobz.sendFileFromUrl(from, pfp, 'pfp.jpg', `*User Profile* ✨️ \n\n➸ *Username: ${namae}*\n\n➸ *User Info: ${status}*\n\n*➸ Block : ${block}*\n\n*➸ Banned : ${bend}*\n\n➸ *Admin Group: ${adm}*\n\n➸ *Admin REV: ${donate}*`)
               } else if (quotedMsg) {
               var qmid = quotedMsgObj.sender.id
               var block = blockNumber.includes(qmid)
               var bend = banned.includes(author)
               var pic = await tobz.getProfilePicFromServer(qmid)
               var namae = quotedMsgObj.sender.name
               var sts = await tobz.getStatus(qmid)
               var adm = isGroupAdmins
               var donate = isAdmin
               const { status } = sts
                if (pic == undefined) {
                var pfp = errorurl 
                } else {
                var pfp = pic
                } 
                await tobz.sendFileFromUrl(from, pfp, 'pfp.jpg', `*User Profile* ✨️ \n\n➸ *Username: ${namae}*\n\n➸ *User Info: ${status}*\n\n*➸ Block : ${block}*\n\n*➸ Banned : ${bend}*\n\n➸ *Admin Group: ${adm}*\n\n➸ *Admin REV: ${donate}*`)
               }
              }
              break
          // LIST MENU
          case '#menu':
          case '#help':
              tobz.sendText(from, help)
              break
          case '#REVgroup':
              tobz.reply(from, `Link Group REV : https://chat.whatsapp.com/KBt8lh74kvUJ6gunrVkco4\nJangan Lupa Join Ya Kak ${pushname}`, id)
              break
          case '#groupmenu':
              tobz.sendText(from, groupcmd)
              break
          case '#mediamenu':
              tobz.sendText(from, mediacmd)
              break
          case '#animemenu':
              tobz.sendText(from, animecmd)
              break
          case '#kerangmenu':
              tobz.sendText(from, kerangcmd)
              break
          case '#downloadmenu':
              tobz.sendText(from, downloadcmd)
              break
          case '#othermenu':
              tobz.sendText(from, othercmd)
              break
          case '#iklan':
              tobz.sendText(from, sewa)
              break
          case '#adminmenu':
              if (!isAdmin) return tobz.reply(from, 'Perintah ini hanya untuk Admin REV', id)
              tobz.sendText(from, admincmd)
              break
          case '#ownermenu':
              if (!isOwner) return tobz.reply(from, 'Perintah ini hanya untuk Owner REV', id)
              tobz.sendText(from, ownercmd)
              break
          case '#praymenu':
              tobz.reply(from, praycmd)
              break
          case '#nsfwmenu':
              if (!isGroupMsg) return tobz.reply(from, 'Perintah ini hanya bisa di gunakan dalam group!', id)
              if (!isNsfw) return tobz.reply(from, 'command/Perintah NSFW belum di aktifkan di group ini!', id)
              tobz.sendText(from, nsfwcmd)
              break
          // INFORMATION
          case '#donate':
              tobz.sendText(from, sumbang)
              break
          case '#readme':
              tobz.reply(from, readme, id)
              break
          case '#info':
              tobz.sendText(from, info)
              break
          case '#bahasa':
              tobz.sendText(from, bahasalist)
              break
          case '#snk':
              tobz.reply(from, snk, id)
              break
          default:
              if (!isGroupMsg) return tobz.reply(from, 'Jika Ingin Menggunakan Bot Harap Masuk Ke Dalam Grup REV, Link Ada Di Bio atau Bisa Mengetik #REVgroup!\nJika Ingin Sewa Bot atau Bikin Bot Harap Ketik *#iklan*', id)
              if (command.startsWith('#')) {
                  tobz.reply(from, `Maaf ${pushname}, Command *${args[0]}* Tidak Terdaftar Di Dalam *#menu*!`, id)
              }
              await tobz.sendSeen(from) 
              }
          }
      } catch (err) {
          console.log(color('[ERROR]', 'red'), err)
          //tobz.kill().then(a => console.log(a))
      }
  }
  
  