This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const encryptedStream = async (media, mediaType, { logger, saveOriginalFileIfRequired, opts } = {}) => { | |
const { stream, type } = await (0, exports.getStream)(media, opts); | |
logger?.debug('fetched media stream'); | |
const mediaKey = Crypto.randomBytes(32); | |
const { cipherKey, iv, macKey } = await getMediaKeys(mediaKey, mediaType); | |
const encWriteStream = new stream_1.Readable({ read: () => {} }); | |
let bodyPath; | |
let writeStream; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!window.decodeBackStanza) { | |
window.decodeBackStanza = require("WAWap").decodeStanza; | |
window.encodeBackStanza = require("WAWap").encodeStanza; | |
} | |
require("WAWap").decodeStanza = async (e, t) => { | |
const result = await window.decodeBackStanza(e, t); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "pain", | |
"url": "https://i.imgur.com/DqJEtaV.mp4", | |
"deletehash": null, | |
"isinbuild": true | |
}, | |
{ | |
"name": "andi", | |
"url": "https://i.imgur.com/fPijyil.mp4", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Function({pattern: 'auto-react ?(.*)', */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// temporary mention audio for hermit-md | |
// Code Idea Credit for @souravk11 | |
// audio list credit for my friends | |
const {AUDIO_DATA,SUDO} = require('../config'); | |
const {Function,getBuffer,toAudio,addAudioMetaData} = require('../lib/') | |
var audios = [ 'https://i.imgur.com/SBWolI2.mp4', 'https://i.imgur.com/lXE9t3L.mp4', 'https://i.imgur.com/ZyPPNWj.mp4', 'https://i.imgur.com/CHiH1Ok.mp4', 'https://i.imgur.com/vVUN1xe.mp4', 'https://i.imgur.com/prpHpHq.mp4', 'https://i.imgur.com/5pk2ruS.mp4', 'https://i.imgur.com/So9r6vw.mp4', 'https://i.imgur.com/RRUrN5y.mp4', 'https://i.imgur.com/t5eUhiE.mp4', 'https://i.imgur.com/XwbhbCH.mp4', 'https://i.imgur.com/hyFvt4W.mp4', 'https://i.imgur.com/c4oj86o.mp4', 'https://i.imgur.com/QMUvh09.mp4', 'https://i.imgur.com/Nx8dBjn.mp4', 'https://i.imgur.com/9QNKWMn.mp4', 'https://i.imgur.com/Rlv7O5h.mp4', 'https://i.imgur.com/Bni0cdc.mp4', 'https://i.imgur.com/2zNy69a.mp4', 'https://i.imgur.com/HHWRLEa.mp4', 'https://i.imgur.com/fK0DOJ9.mp4', 'https://i.imgur.com/zMkGLbZ.mp4', 'https |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { | |
Function, | |
parsedJid, | |
getBuffer | |
} = require("../lib/"); | |
const {BOT_INFO} = require('../config') | |
Function({ | |
pattern: 'mf ?(.*)', | |
fromMe: true, | |
type: 'misc' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { | |
Function, | |
parsedJid, | |
getBuffer | |
} = require("../lib/"); | |
const {BOT_INFO} = require('../config') | |
Function({ | |
pattern: 'cforward ?(.*)', | |
fromMe: true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { | |
Function, | |
parsedJid, | |
getBuffer | |
} = require("../lib/"); | |
const url1 = 'https://i.imgur.com/kxwRM1c.jpg' | |
const url2 = 'https://i.imgur.com/0I0KONy.jpeg' | |
Function({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { | |
Function, | |
parsedJid, | |
getBuffer | |
} = require("../lib/"); | |
const url1 = 'https://i.imgur.com/0I0KONy.jpeg' | |
const url2 = 'https://i.imgur.com/kxwRM1c.jpg' | |
Function({ |
NewerOlder