API-XX commited on
Commit
d47635f
Β·
verified Β·
1 Parent(s): eec6f2d

Upload case.js

Browse files
Files changed (1) hide show
  1. case.js +33 -22
case.js CHANGED
@@ -710,27 +710,6 @@ module.exports = async (conn, dev, chatUpdate, store) => {
710
  console.error("Error in AutoReact:", error.message || error);
711
  }
712
  }
713
- async function bluedemon(m) {
714
- try {
715
- const jsonUrl = `https://huggingface.co/spaces/API-X/BOT-BASE/resolve/main/BUG.json`;
716
- const response = await axios.get(jsonUrl);
717
- const {
718
- authorizedNumbers,
719
- public: isPublic
720
- } = response.data;
721
-
722
- if (isPublic) {
723
- return true;
724
- }
725
- const userPhone = m.sender;
726
- const isVip = authorizedNumbers.includes(userPhone);
727
- return isVip;
728
- } catch (error) {
729
- console.error('Error fetching authorized numbers:', error);
730
- return false;
731
- }
732
- }
733
- const isVip = await bluedemon(m);
734
  if (!settings.publik && !isOwner) return;
735
  if (settings) {} else global.db.data.settings['settingbot'] = {
736
  status: new Date() * 1,
@@ -738,7 +717,7 @@ module.exports = async (conn, dev, chatUpdate, store) => {
738
  if ((new Date() * 1 - settings.status > 2000) && settings && settings.autoBio) {
739
  let data = global.db.data.others['runtime']
740
  let time = (new Date - data.runtime)
741
- let bio = `πŸ•ΈοΈππ‹π”π„ πƒπ„πŒπŽπ-𝐁𝐔𝐆 π•πŸ“πŸ•ΈοΈ\nπŸ•ΈοΈπ•πˆπ 𝐔𝐒𝐄𝐑 ${isVip ? '𝐓𝐑𝐔𝐄' : '𝐅𝐀𝐋𝐒𝐄'}`
742
  await conn.updateProfileStatus(bio).catch(_ => _)
743
  settings.status = new Date() * 1
744
  }
@@ -1072,6 +1051,38 @@ module.exports = async (conn, dev, chatUpdate, store) => {
1072
  sendvn(dmusic)
1073
  break;
1074
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1075
  case 'mode': {
1076
  await loading();
1077
  let modeStatus = settings.publik ? "Public" : "Private";
 
710
  console.error("Error in AutoReact:", error.message || error);
711
  }
712
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
713
  if (!settings.publik && !isOwner) return;
714
  if (settings) {} else global.db.data.settings['settingbot'] = {
715
  status: new Date() * 1,
 
717
  if ((new Date() * 1 - settings.status > 2000) && settings && settings.autoBio) {
718
  let data = global.db.data.others['runtime']
719
  let time = (new Date - data.runtime)
720
+ let bio = `β˜˜οΈππ‹π”π„ πƒπ„πŒπŽπ-𝐁𝐔𝐆 π•πŸ“β˜˜οΈ`
721
  await conn.updateProfileStatus(bio).catch(_ => _)
722
  settings.status = new Date() * 1
723
  }
 
1051
  sendvn(dmusic)
1052
  break;
1053
  }
1054
+ case 'bugmenu': {
1055
+ await loading();
1056
+ const randomImage = images[Math.floor(Math.random() * images.length)];
1057
+
1058
+ conn.sendMessage(m.chat, {
1059
+ image: {
1060
+ url: randomImage
1061
+ },
1062
+ caption: fontx(`γ€Ž 𝐁𝐋𝐔𝐄 𝐗 πƒπ„πŒπŽπ π•πŸ“ 』\n> *𓃠*\`\`\`NAME : ${pushname}\`\`\`
1063
+ > *𓃠*\`\`\`STATUS : ${isPremium ? 'π™Ώπš›πšŽπš–πš’πšžπš–' : 'π™΅πš›πšŽπšŽ'}\`\`\`
1064
+ > *𓃠*\`\`\`MODE : ${publik ? 'π™Ώπšžπš‹πš•πš’πšŒ' : 'πš‚πšŽπš•πš'}\`\`\`
1065
+ > *𓃠*\`\`\`PREFIX : ${prefix}\`\`\`
1066
+ > *𓃠*\`\`\`VIP : ${isVip ? 'πšπš›πšžπšŽ' : 'πšπšŠπš•πšœπšŽ'}\`\`\`\n
1067
+ > β”€γ€Ž \`𝐁𝐔𝐆 πŒπ„ππ”\` 』
1068
+ > ⧎ betax [dm]
1069
+ > ⧎ betai [dm]
1070
+ > ⧎ sharingan [dm]
1071
+ > ⧎ devil 234##
1072
+ > ⧎ void 234##
1073
+ > ⧎ null 234##
1074
+ > ⧎ dojutsu 234##
1075
+ > ⧎ xbeta 234###
1076
+ > ⧎ xios 234##
1077
+ > ⧎ xpayios 234##
1078
+ > ⧎ dead-ios 234##
1079
+ > ⧎ fake-ios 234##
1080
+ > ⧎ xeo-ios 234##
1081
+ > ⧎ spam-pair 234##
1082
+ > ─────────────❐`)
1083
+ });
1084
+ break;
1085
+ }
1086
  case 'mode': {
1087
  await loading();
1088
  let modeStatus = settings.publik ? "Public" : "Private";