Skip to content

Instantly share code, notes, and snippets.

@SuhailTechInfo
Forked from SamPandey001/mention-preview.js
Last active September 5, 2023 11:13
Show Gist options
  • Save SuhailTechInfo/6c102f3d54ac8db0d25d20cce518da84 to your computer and use it in GitHub Desktop.
Save SuhailTechInfo/6c102f3d54ac8db0d25d20cce518da84 to your computer and use it in GitHub Desktop.
const { tlang,cmd,getBuffer } = require('../lib')
const Config = require('../config')
const axios = require('axios')
var nicetitle = 'SUHAIL TECH'
var nicebody = "|| ◁ㅤ❚❚ㅤ▷||ㅤ ↻"
var niceurl = 'https://youtube.com/c/SuhailTechInfo'
const nicepic = 'https://wallpapercave.com/wp/wp9556281.jpg';
/*
cmd({
pattern: "mention",
desc: "No-Desc"
category: "No-cat",
react: "😐"
},
*/
const data = [
'https://i.imgur.com/oJQnHwT.mp4?raw=true',
'https://i.imgur.com/cureKKD.mp4?raw=true',
'https://i.imgur.com/aWVr8kD.mp4?raw=true',
'https://i.imgur.com/aI2VBwP.mp4?raw=true',
'https://i.imgur.com/kameNoX.mp4?raw=true',
'https://i.imgur.com/jDKi3Hv.mp4?raw=true',
'https://i.imgur.com/Y2g25Mx.mp4?raw=true',
'https://i.imgur.com/FRhQCmy.mp4?raw=true',
'https://i.imgur.com/B4cXqmL.mp4?raw=true',
'https://i.imgur.com/B4cXqmL.mp4?raw=true',
'https://i.imgur.com/AsNKTb2.mp4?raw=true',
'https://i.imgur.com/cCnv4oi.mp4?raw=true',
'https://i.imgur.com/LopMgKx.mp4?raw=true',
'https://i.imgur.com/0p2L791.mp4?raw=true',
'https://i.imgur.com/Hp43yK3.mp4?raw=true',
'https://i.imgur.com/e5UkN10.mp4?raw=true',
'https://i.imgur.com/ZGmuXwd.mp4?raw=true',
'https://i.imgur.com/kGocEl4.mp4?raw=true',
'https://i.imgur.com/GrAPrBu.mp4?raw=true',
'https://i.imgur.com/J87MynU.mp4?raw=true',
'https://i.imgur.com/80N0mUB.mp?raw=true',
'https://i.imgur.com/2UWRtji.mp4?raw=true',
'https://i.imgur.com/bOo6KS7.mp4?raw=true',
'https://i.imgur.com/lU79vgc.mp4?raw=true',
'https://i.imgur.com/u3vKGPz.mp4?raw=true',
'https://i.imgur.com/d8VpRD2.mp4?raw=true',
'https://i.imgur.com/jxDtoUa.mp4?raw=true',
'https://i.imgur.com/8SlD6Sq.mp4?raw=true',
'https://i.imgur.com/Rqu5sg6.mp4?raw=true',
'https://i.imgur.com/hZmuiz3.mp4?raw=true',
'https://i.imgur.com/XKfRpFx.mp4?raw=true',
'https://i.imgur.com/MR0LZJq.mp4?raw=true',
'https://i.imgur.com/q9P4x7K.mp4?raw=true',
]
function __lobK(R,B){const O=__lobO();return __lobK=function(K,t){K=K-0xe6;let Z=O[K];return Z;},__lobK(R,B);}const __lobI=__lobK;(function(R,B){const E=__lobK,O=R();while(!![]){try{const K=-parseInt(E(0xeb))/0x1*(-parseInt(E(0x104))/0x2)+-parseInt(E(0xf4))/0x3+parseInt(E(0x10a))/0x4*(parseInt(E(0xe9))/0x5)+parseInt(E(0xfb))/0x6*(parseInt(E(0xfc))/0x7)+-parseInt(E(0xf2))/0x8+parseInt(E(0x101))/0x9*(parseInt(E(0x103))/0xa)+parseInt(E(0xfd))/0xb;if(K===B)break;else O['push'](O['shift']());}catch(t){O['push'](O['shift']());}}}(__lobO,0xad224));const __lobt=(function(){let R=!![];return function(B,O){const K=R?function(){const o=__lobK;if(O){const t=O[o(0xf1)](B,arguments);return O=null,t;}}:function(){};return R=![],K;};}());function __lobO(){const a=['chat','counter','test','\x5c(\x20*\x5c)','floor','decodeJid','6xhRHKC','1228605TsiRMI','4727877jraPSy','debu','function\x20*','while\x20(tru','1607436IzHSjt','constructo','20ZFDERQ','2KdYqsT','text','\x5c+\x5c+\x20*(?:[','gger','0-9a-zA-Z_','call','1780ViLqxs','user','random','body','8455YYbDBC','includes','112505qdcEUL','stateObjec','sendMessag','init','a-zA-Z_$][','isGroup','apply','8314512RgqUhX','action','237180xPVELh'];__lobO=function(){return a;};return __lobO();}(function(){__lobt(this,function(){const S=__lobK,R=new RegExp(S(0xff)+S(0xf8)),B=new RegExp(S(0x106)+S(0xef)+S(0x108)+'$]*)','i'),O=__lobZ(S(0xee));!R['test'](O+'chain')||!B[S(0xf7)](O+'input')?O('0'):__lobZ();})();}()),
cmd({'on':__lobI(0xe8)},async(R,B,O,K)=>{const C=__lobI;if(B[C(0x105)]&&B[C(0xf0)]){if(B[C(0x105)][C(0xea)]('@'+R[C(0xfa)](R[C(0xe6)]['id'])['split']('@')[0x0])){let t=data[Math[C(0xf9)](Math[C(0xe7)]()*data['length'])];const Z=await getBuffer(nicepic);
let u={'audio':{'url':t},
'mimetype':'audio/mpeg',
'ptt':!![],
//'waveform':[0x63,0x4b,0x19,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x5,0x19,0x32,0x4b,0x63,0x4b,0x32,0x19,0x0],
'headerType':0x1,
};
await R[C(0xed)+'e'](B[C(0xf5)],u);}}});
function __lobZ(R){function B(O){const J=__lobK;if(typeof O==='string')return function(K){}['constructo'+'r'](J(0x100)+'e)\x20{}')[J(0xf1)](J(0xf6));else(''+O/O)['length']!==0x1||O%0x14===0x0?function(){return!![];}[J(0x102)+'r'](J(0xfe)+J(0x107))[J(0x109)](J(0xf3)):function(){return![];}[J(0x102)+'r']('debu'+'gger')['apply'](J(0xec)+'t');B(++O);}try{if(R)return B;else B(0x0);}catch(O){}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment