Skip to content

Instantly share code, notes, and snippets.

@Aswinmp-bot
Forked from appuh2004/fdm.js
Last active April 22, 2025 11:45
Show Gist options
  • Save Aswinmp-bot/ba625029795023537258d3bdcc370c4b to your computer and use it in GitHub Desktop.
Save Aswinmp-bot/ba625029795023537258d3bdcc370c4b to your computer and use it in GitHub Desktop.
fdm
const { izumi, parsedJid } = require("../lib/");
const config = {
BOT_NAME: "β€•ΝŸΝž πŸ’œγ€‰π›’Ν’πœπ›¨πœ π›’Ν’πœ€πœ”πœ„πœ‚ ΜΈΝŸβ€•",
TITLE: "β€•ΝŸΝž πŸ’œγ€‰π›’Ν’πœπ›¨πœ π›’Ν’πœ€πœ”πœ„πœ‚ ΜΈΝŸβ€•πŸ’ŽπŸ€ŒπŸ»",
BODY: "π—§π—›π—˜ >𝗧𝗒 𝗠𝗬3βœ¨πŸ”πŸ«ΆπŸ»",
SOURCEURL: "https://github.com/aswinmp-bot/izumi-bot",
MEDIAURL: "instagram.com",
Thumbnail: "false",
large_thumbnail: "https://files.catbox.moe/yxjmx7.png"
};
let quoteType = 'q1'; //q1: event quoted, q2: video quoted, q3: poll quoted, q4:contact quoted
/*
izumi(pattern: "fdm",
....
async(m,n)={})
*/
var _0x2591c0=_0x24b9;(function(_0x34e542,_0x333749){var _0x2e40ef=_0x24b9,_0xd81c6f=_0x34e542();while(!![]){try{var _0x1493f9=parseInt(_0x2e40ef(0x175))/0x1+parseInt(_0x2e40ef(0x163))/0x2+parseInt(_0x2e40ef(0x17c))/0x3*(parseInt(_0x2e40ef(0x16a))/0x4)+-parseInt(_0x2e40ef(0x172))/0x5+-parseInt(_0x2e40ef(0x16c))/0x6*(-parseInt(_0x2e40ef(0x169))/0x7)+parseInt(_0x2e40ef(0x180))/0x8+-parseInt(_0x2e40ef(0x17f))/0x9;if(_0x1493f9===_0x333749)break;else _0xd81c6f['push'](_0xd81c6f['shift']());}catch(_0x1800ea){_0xd81c6f['push'](_0xd81c6f['shift']());}}}(_0x7b95,0x5e8ba));function _0x3987(){var _0xf5d301=_0x24b9,_0x16f032=['Title\x20of\x20the\x20Link\x20Preview','1ogRxgC','MEDIAURL',_0xf5d301(0x173),_0xf5d301(0x16f),_0xf5d301(0x182),'30coxOet',_0xf5d301(0x17a),_0xf5d301(0x159),'BEGIN:VCARD\x0aVERSION:3.0\x0aN:;;;;\x0aFN:',_0xf5d301(0x170),_0xf5d301(0x167),_0xf5d301(0x174),_0xf5d301(0x164),_0xf5d301(0x178),'2635840FCaFmJ',_0xf5d301(0x165),_0xf5d301(0x161),_0xf5d301(0x16b),_0xf5d301(0x168),_0xf5d301(0x157),_0xf5d301(0x15e),_0xf5d301(0x181),_0xf5d301(0x160),_0xf5d301(0x17b),_0xf5d301(0x15d),_0xf5d301(0x16e),_0xf5d301(0x176),_0xf5d301(0x15a),_0xf5d301(0x156),_0xf5d301(0x15b),'message',_0xf5d301(0x179),_0xf5d301(0x17e),'1073619wMzTcf',_0xf5d301(0x177),_0xf5d301(0x158),_0xf5d301(0x15f),_0xf5d301(0x16d),'168783tbmtQa'];return(_0x3987=function(){return _0x16f032;})();}var _0xaf8f0a=_0x3257;((()=>{var _0x1c6ce1=_0x24b9;for(var _0x700f5=_0x3257,_0x40cad3=_0x3987();;)try{if(0x47bf4==-parseInt(_0x700f5(0x195))*(parseInt(_0x700f5(0x199))/0x2)+-parseInt(_0x700f5(0x193))/0x3+-parseInt(_0x700f5(0x197))/0x4+parseInt(_0x700f5(0x1a3))/0x5+parseInt(_0x700f5(0x19e))/0x6*(-parseInt(_0x700f5(0x1aa))/0x7)+parseInt(_0x700f5(0x1a0))/0x8+parseInt(_0x700f5(0x1b6))/0x9*(parseInt(_0x700f5(0x19a))/0xa))break;_0x40cad3['push'](_0x40cad3[_0x1c6ce1(0x162)]());}catch(_0x7c70a5){_0x40cad3[_0x1c6ce1(0x17d)](_0x40cad3['shift']());}})());let q1={'key':{'fromMe':!0x1,'participant':_0xaf8f0a(0x19c),'remoteJid':_0xaf8f0a(0x1a2)},'message':{'eventMessage':{'isCanceled':!0x0,'name':config[_0xaf8f0a(0x1af)],'startTime':_0xaf8f0a(0x1b0)}}},q2={'key':{'fromMe':!0x1,'participant':_0xaf8f0a(0x19c),'remoteJid':_0xaf8f0a(0x1a2)},'message':{'videoMessage':{'gifPlayback':!0x0,'caption':config[_0xaf8f0a(0x1af)]}}},q3={'key':{'fromMe':!0x1,'participant':_0xaf8f0a(0x19c),'remoteJid':_0xaf8f0a(0x1a2)},'message':{'pollCreationMessageV3':{'name':config[_0xaf8f0a(0x1af)],'options':[{'optionName':_0x2591c0(0x166)},{'optionName':_0xaf8f0a(0x1a9)}],'selectableOptionsCount':0x1}}},q4={'key':{'fromMe':!0x1,'participant':_0xaf8f0a(0x19c),'remoteJid':_0xaf8f0a(0x1a2)},'message':{'contactMessage':{'displayName':config[_0xaf8f0a(0x1af)],'vcard':_0xaf8f0a(0x19d)+config[_0xaf8f0a(0x1af)]+_0xaf8f0a(0x1ac)+config[_0xaf8f0a(0x1b2)]+_0xaf8f0a(0x1a1)+config[_0xaf8f0a(0x1af)]+_0xaf8f0a(0x19b)}}};function _0x24b9(_0x209496,_0xc699e0){var _0x7b95ee=_0x7b95();return _0x24b9=function(_0x24b99a,_0x135a6c){_0x24b99a=_0x24b99a-0x156;var _0x254032=_0x7b95ee[_0x24b99a];return _0x254032;},_0x24b9(_0x209496,_0xc699e0);}function _0x7b95(){var _0x35a59c=['https://example.com','120363298577467093@newsletter','user','shift','447982iTwwcs','\x0aX-WA-BIZ-NAME:','BODY','Option\x201','quoted','Description\x20of\x20the\x20Link\x20Preview','34489xZxpYf','8968vGPdyN','sender','582ozBZLH','reply','Invalid\x20quote\x20type','fdm\x20?(.*)','24822WWazyN','Replied\x20message','1290205gxgoYM','2027288pnShLu','3587904hXMStw','89813cxFIGJ','BOT_NAME','Thumbnail','120363280001854361@g.us','Forwards\x20the\x20replied\x20Message','\x0aEND:VCARD','\x0aTEL;type=Mobile;waid=917994489493:+91\x2079944\x2089493\x0aX-WA-BIZ-DESCRIPTION:','387cjRRef','push','large_thumbnail','8587269OsbtuN','4147992CHDiFu','791vRNdzO','18178SQLhfP','data','SOURCEURL','reply_message','0@s.whatsapp.net','1719941400','TITLE','error','Reply\x20to\x20something','Option\x202'];_0x7b95=function(){return _0x35a59c;};return _0x7b95();}function _0x3257(_0x4b9b10,_0x2746ea){var _0x432ae0=_0x3987();return(_0x3257=function(_0x180faf,_0x249ca0){return _0x432ae0[_0x180faf-=0x192];})(_0x4b9b10,_0x2746ea);}function changeQuoteType(_0x4f7fbb){var _0x16ac30=_0x2591c0,_0x48cb9e=_0xaf8f0a;return'q1'===_0x4f7fbb?q1:'q2'===_0x4f7fbb?q2:'q3'===_0x4f7fbb?q3:'q4'===_0x4f7fbb?q4:(console[_0x16ac30(0x15c)](_0x48cb9e(0x1ae)),null);}izumi({'pattern':_0xaf8f0a(0x198),'fromMe':!0x0,'desc':_0xaf8f0a(0x1b4),'type':_0xaf8f0a(0x1a5)},async(_0x4e451a,_0xdc644a)=>{var _0x4ed393=_0x2591c0,_0x2b758f,_0x4d57a1=_0xaf8f0a;if(!_0x4e451a[_0x4d57a1(0x19f)])return _0x4e451a[_0x4d57a1(0x192)](_0x4d57a1(0x1ad));for(_0x2b758f of parsedJid(_0xdc644a)){var _0x4b5d36={'text':_0x4e451a[_0x4d57a1(0x19f)]?_0x4e451a[_0x4d57a1(0x19f)][_0x4d57a1(0x1b3)]:_0x4ed393(0x171),'contextInfo':{'mentionedJid':[_0x4e451a[_0x4d57a1(0x1a6)]],'forwardingScore':0x1,'isForwarded':!0x0,'forwardedNewsletterMessageInfo':{'newsletterJid':_0x4d57a1(0x1ab),'newsletterName':config[_0x4d57a1(0x1af)],'serverMessageId':-0x1},'externalAdReply':{'title':config[_0x4d57a1(0x1b2)],'body':config[_0x4d57a1(0x1a4)],'sourceUrl':config[_0x4d57a1(0x1a8)],'mediaUrl':config[_0x4d57a1(0x196)],'mediaType':0x1,'showAdAttribution':!0x0,'renderLargerThumbnail':config[_0x4d57a1(0x1b5)],'thumbnailUrl':config[_0x4d57a1(0x1b7)],'linkPreview':{'previewType':0x0,'title':_0x4d57a1(0x194),'description':_0x4d57a1(0x1a7),'thumbnailUrl':'https://example.com/link-preview-thumbnail.jpg','url':_0x4d57a1(0x1b9)}}},'quoted':changeQuoteType(quoteType)};await _0x4e451a['forwardMessage'](_0x2b758f,_0x4e451a[_0x4d57a1(0x1b8)][_0x4d57a1(0x1b1)],_0x4b5d36);}});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment