Skip to content

Instantly share code, notes, and snippets.

@Afx-Abu
Last active July 22, 2023 04:44
Show Gist options
  • Save Afx-Abu/b0b85cc68dffffa9e45b4f5ff112f31d to your computer and use it in GitHub Desktop.
Save Afx-Abu/b0b85cc68dffffa9e45b4f5ff112f31d to your computer and use it in GitHub Desktop.
const image_1 = 'https://i.imgur.com/6WgXwuq.jpeg' // Image 1
var duration = [200001355,3999600,359996400] // Fake duration. Make it false for actual duration
var text_1 = '๐›ฅ๐ต๐‘ˆ ๐›ญ๐ท'
var text_2 = 'แด€แดœแด…ษชแด ส™ส€แดแด…แด„แด€sแด› : โ–ฎโ–ฎโ–ฎโ–ฎโ–ฎโ–ฎโ–ฏโ–ฏโ–ฏโฉ'
var text_3 = '๐ด๐‘›๐‘กโ„Ž๐‘Ž๐‘‘๐‘Ž ๐‘“๐‘’๐‘Ž๐‘Ÿ ๐‘Ž๐‘Ž๐‘ฆ๐‘œ ๐‘›๐‘’๐‘’?'
var size = 1000000000 // Audio download size. Give in bytes
var source_url = "https://www.instagram.com/p/Ce1HQPAvks1/?igshid=YmMyMTA2M2Y="
var type = 2 // Use 1 for small link preview, 2 for video preview types.
var currency = ["INR","USD","EUR","AED"] // Currencys.
var amount = ['999999','0','222222'] // Amount shown @ top
var ptt = false // Use false for audio message
var ad_msg = true // Use false to disable "message via ad"
// ===================================================================================
// NO NEED OF EDITING THINGS BELOW โ—
// ===================================================================================
/*Module({pattern: 'bc_audio ?(.*)',
fromMe: isPublic,
desc: 'forward You're audio messages with link preview, type: 'misc'},
async (message, match, client)
=> { return }); */
const Jsl_0x4e4e84=Jsl_0x39db;(function(_0x5ca72c,_0x11b5c9){const _0xb3568=Jsl_0x39db,_0x194d9f=_0x5ca72c();while(!![]){try{const _0x16e9cd=-parseInt(_0xb3568(0x103))/0x1*(parseInt(_0xb3568(0x108))/0x2)+parseInt(_0xb3568(0x105))/0x3+-parseInt(_0xb3568(0xf3))/0x4+parseInt(_0xb3568(0xf6))/0x5+-parseInt(_0xb3568(0x10d))/0x6*(parseInt(_0xb3568(0xf1))/0x7)+parseInt(_0xb3568(0x100))/0x8+parseInt(_0xb3568(0xf8))/0x9*(-parseInt(_0xb3568(0xef))/0xa);if(_0x16e9cd===_0x11b5c9)break;else _0x194d9f['push'](_0x194d9f['shift']());}catch(_0x2cc14b){_0x194d9f['push'](_0x194d9f['shift']());}}}(Jsl_0xfc7f,0xf2174));const {Module,isPublic}=require('../lib/'),{downloadMediaMessage}=require(Jsl_0x4e4e84(0x110)),fetch=require('node-fetch'),{jslbuffer}=require(Jsl_0x4e4e84(0x101));function Jsl_0x39db(_0x3006a7,_0x42a366){const _0xfc7fea=Jsl_0xfc7f();return Jsl_0x39db=function(_0x39db57,_0x3019b5){_0x39db57=_0x39db57-0xef;let _0x506678=_0xfc7fea[_0x39db57];return _0x506678;},Jsl_0x39db(_0x3006a7,_0x42a366);}function Jsl_0xfc7f(){const _0x4e9c8d=['push','5789656zAnuDP','3673oZnCEr','sendMessage','10820408raWICp','abu-bot','groupFetchAllParticipating','7OmDtWn','quoted','5036070tGOJmG','entries','client','6844NTPiev','floor','map','3505755mpsvKf','1870CLkuyH','18438HOEjsc','shift','updateMediaMessage','@whiskeysockets/baileys','19970avsRKk','buffer','1897RuRugh','user','6744872UgfZWm','random','bc_audio','4243995AbfUcT','36422080wxyHvX','1557CaWyJm','122kkpVnR','*_Reply\x20to\x20a\x20Audio_*','Broadcast\x20Audio'];Jsl_0xfc7f=function(){return _0x4e9c8d;};return Jsl_0xfc7f();}let img='https://i.imgur.com/6WgXwuq.jpeg';Module({'pattern':Jsl_0x4e4e84(0xf5),'fromMe':!![],'desc':Jsl_0x4e4e84(0xfb),'type':Jsl_0x4e4e84(0xf2)},async(_0x5a8618,_0x121a50,_0x11eb4b)=>{const _0x374d9e=Jsl_0x4e4e84;{if(!_0x11eb4b[_0x374d9e(0x104)])_0x5a8618['reply'](_0x374d9e(0xfa));else{const _0x4c70fa=await jslbuffer(image_1),_0x40bed2=duration[Math[_0x374d9e(0x109)](Math[_0x374d9e(0xf4)]()*duration['length'])];let _0x1e3078=duration[Math[_0x374d9e(0x109)](Math['random']()*duration['length'])]||![],_0x1c15af=_0x121a50,_0x2e1a4e=await downloadMediaMessage(_0x11eb4b['quoted'],_0x374d9e(0xf0),{},{'reuploadRequest':_0x5a8618[_0x374d9e(0x107)][_0x374d9e(0x10f)]});const _0x21e34f=_0x30bf76;function _0x30bf76(_0x1cef87,_0x1cfffa){const _0x411828=_0x5f52de();return _0x30bf76=function(_0x5c4d42,_0x422e94){_0x5c4d42=_0x5c4d42-0x1bc;let _0xc8a7c0=_0x411828[_0x5c4d42];return _0xc8a7c0;},_0x30bf76(_0x1cef87,_0x1cfffa);}(function(_0x4fa62e,_0x12f574){const _0x199c56=_0x374d9e,_0x3019bd=_0x30bf76,_0x1c77f9=_0x4fa62e();while(!![]){try{const _0x45f1d6=-parseInt(_0x3019bd(0x1c9))/0x1*(-parseInt(_0x3019bd(0x1c4))/0x2)+-parseInt(_0x3019bd(0x1c0))/0x3+parseInt(_0x3019bd(0x1c5))/0x4*(parseInt(_0x3019bd(0x1bf))/0x5)+-parseInt(_0x3019bd(0x1c8))/0x6+-parseInt(_0x3019bd(0x1c7))/0x7+-parseInt(_0x3019bd(0x1c3))/0x8*(parseInt(_0x3019bd(0x1bc))/0x9)+parseInt(_0x3019bd(0x1c6))/0xa;if(_0x45f1d6===_0x12f574)break;else _0x1c77f9[_0x199c56(0xfc)](_0x1c77f9['shift']());}catch(_0x5e938a){_0x1c77f9[_0x199c56(0xfc)](_0x1c77f9[_0x199c56(0x10e)]());}}}(_0x5f52de,0xae422));function _0x5f52de(){const _0x384e3c=_0x374d9e,_0xfdc33e=[_0x384e3c(0x106),_0x384e3c(0x102),_0x384e3c(0xfd),_0x384e3c(0xf9),'3464koctxU',_0x384e3c(0xf7),'2830177pQHzqL','7078680uEmAGS',_0x384e3c(0xfe),'9dfUtHx',_0x384e3c(0x10a),'slice',_0x384e3c(0x10c),_0x384e3c(0x10b)];return _0x5f52de=function(){return _0xfdc33e;},_0x5f52de();}let _0x41e23a=await _0x5a8618[_0x374d9e(0x107)][_0x21e34f(0x1c2)](),_0x470192=Object[_0x21e34f(0x1c1)](_0x41e23a)[_0x21e34f(0x1be)](0x0)[_0x21e34f(0x1bd)](_0x5b268e=>_0x5b268e[0x1]),_0x12f462=_0x470192[_0x21e34f(0x1bd)](_0x547248=>_0x547248['id']);for(let _0x423261 of _0x12f462)_0x5a8618['client'][_0x374d9e(0xff)](_0x423261,{'audio':_0x2e1a4e,'seconds':_0x40bed2,'mimetype':'audio/mpeg','ptt':!![],'contextInfo':{'externalAdReply':{'title':text_1,'body':text_2,'mediaType':type,'thumbnail':_0x4c70fa,'mediaUrl':source_url,'sourceUrl':source_url}}});}}});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment