API-XX commited on
Commit
da1352e
Β·
verified Β·
1 Parent(s): 1badc8c

Upload case.js

Browse files
Files changed (1) hide show
  1. case.js +56 -35
case.js CHANGED
@@ -744,40 +744,6 @@ module.exports = async (conn, dev, chatUpdate, store) => {
744
  }
745
  }
746
  const isVip = await bluedemon(m);
747
- const {
748
- crashcursor,
749
- InfiNite,
750
- freezefile,
751
- buginvite,
752
- crashUiV5,
753
- systemUi,
754
- systemUi2,
755
- crashui2,
756
- sendOfferCall,
757
- InVisiLoc,
758
- bugnew,
759
- XeonXRobust,
760
- Fuckui,
761
- InvisibleLoadFast,
762
- mati2,
763
- hardfreeze,
764
- betacrash,
765
- UpiCrash,
766
- VenCrash,
767
- AppXCrash,
768
- SmCrash,
769
- FBiphone,
770
- QXIphone,
771
- caywzzaja_notif,
772
- QPayIos,
773
- XeonIosOld,
774
- XeonIosPayOld,
775
- XeonIosNew,
776
- QPayStriep,
777
- QDIphone,
778
- IosMJ,
779
- XiosVirus
780
- } = require('../lib/demon.js')
781
  if (!settings.publik && !isOwner) return;
782
  if (settings) {} else global.db.data.settings['settingbot'] = {
783
  status: new Date() * 1,
@@ -1057,6 +1023,9 @@ module.exports = async (conn, dev, chatUpdate, store) => {
1057
 
1058
  > β”€γ€Ž \`𝐍𝐒𝐅𝐖 πŒπ„ππ”\` 』
1059
  > ${sign} ${prefix}waifu
 
 
 
1060
  > ─────────────❐
1061
 
1062
  > β”€γ€Ž \`π‘π€ππƒπŽπŒ π‚πŒπƒπ’\` 』
@@ -3100,7 +3069,7 @@ await loading();
3100
  video: { url: json.videoUrl },
3101
  mimetype: "video/mp4",
3102
  fileName: `${json.title}.mp4`,
3103
- caption: fontx(`πŸ”ž *${json.title}*`)
3104
  }, { quoted: m });
3105
 
3106
  } catch (error) {
@@ -3109,8 +3078,60 @@ await loading();
3109
  }
3110
  break;
3111
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3112
 
 
 
 
 
3113
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3114
 
3115
 
3116
 
 
744
  }
745
  }
746
  const isVip = await bluedemon(m);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
747
  if (!settings.publik && !isOwner) return;
748
  if (settings) {} else global.db.data.settings['settingbot'] = {
749
  status: new Date() * 1,
 
1023
 
1024
  > β”€γ€Ž \`𝐍𝐒𝐅𝐖 πŒπ„ππ”\` 』
1025
  > ${sign} ${prefix}waifu
1026
+ > ${sign} ${prefix}hentai
1027
+ > ${sign} ${prefix}xxxdl <link>
1028
+ > ${sign} ${prefix}xxxsearch
1029
  > ─────────────❐
1030
 
1031
  > β”€γ€Ž \`π‘π€ππƒπŽπŒ π‚πŒπƒπ’\` 』
 
3069
  video: { url: json.videoUrl },
3070
  mimetype: "video/mp4",
3071
  fileName: `${json.title}.mp4`,
3072
+ caption: fontx(`πŸ”ž *${json.title}*\n> ${caption}`)
3073
  }, { quoted: m });
3074
 
3075
  } catch (error) {
 
3078
  }
3079
  break;
3080
  }
3081
+ case 'xxxsearch': {
3082
+ if (isGroup && !isAntiNsfw) return reply(mess.nsfw);
3083
+ if (!q) return reply("❌ Please enter a search query.\nExample: `.xxxsearch big ass`");
3084
+
3085
+ await loading();
3086
+ let apiUrl = `https://api-xx-xi.hf.space/api/xxxsearch?q=${encodeURIComponent(q)}`;
3087
+
3088
+ try {
3089
+ let response = await fetch(apiUrl);
3090
+ if (!response.ok) throw new Error(`API responded with ${response.status}`);
3091
+
3092
+ let json = await response.json();
3093
+ if (!json.success || !json.videoUrl) {
3094
+ return conn.sendMessage(m.chat, { text: fontx(`❌ No results found for *${q}*.`) });
3095
+ }
3096
 
3097
+ await conn.sendMessage(m.chat, {
3098
+ video: { url: json.videoUrl },
3099
+ caption: fontx(`πŸ”₯ *${json.videoTitle}*\n> ${caption}`)
3100
+ });
3101
 
3102
+ } catch (error) {
3103
+ console.error("❌ Error fetching XXX video:", error);
3104
+ conn.sendMessage(m.chat, { text: fontx("❌ Failed to fetch video. Try again later.") });
3105
+ }
3106
+ break;
3107
+ }
3108
+ case 'xxxdl': {
3109
+ if (isGroup && !isAntiNsfw) return reply(mess.nsfw);
3110
+ if (!q) return reply("❌ Please provide a valid *XVideos* link.\nExample: `.xxxdl https://www.xvideos.com/`");
3111
+
3112
+ await loading();
3113
+ let apiUrl = `https://api-xx-xi.hf.space/api/xvideos?url=${encodeURIComponent(q)}`;
3114
+
3115
+ try {
3116
+ let response = await fetch(apiUrl);
3117
+ if (!response.ok) throw new Error(`API responded with ${response.status}`);
3118
+
3119
+ let json = await response.json();
3120
+ if (!json.success || !json.videoUrl) {
3121
+ return reply("❌ No video found for the provided link.");
3122
+ }
3123
+
3124
+ await conn.sendMessage(m.chat, {
3125
+ video: { url: json.videoUrl },
3126
+ caption: `πŸ”₯ *${json.title}*\n> ${caption}`
3127
+ });
3128
+
3129
+ } catch (error) {
3130
+ console.error("❌ Error fetching XXX video:", error);
3131
+ reply("❌ Failed to fetch video. Try again later.");
3132
+ }
3133
+ break;
3134
+ }
3135
 
3136
 
3137