Last active
June 30, 2023 20:49
-
-
Save souravkl11/8b7e77e85038f0dcf2e301b757f698c5 to your computer and use it in GitHub Desktop.
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
// Plugin for raganork by souravkl11 | |
var ra = require('../events'); | |
var {MessageType, Mimetype} = require('@adiwajshing/baileys'); | |
var {xv} = require('raganork-bot'); | |
ra.addCommand({pattern: 'xsearch ?(.*)', fromMe: true, desc: 'nil' , dontAddCommandList: true }, async (m, q) => { | |
await m.client.sendMessage(m.jid, await xv(q[1]), MessageType.text, {quoted: m.data})}) | |
ra.addCommand({pattern: 'xdownload ?(.*)', fromMe: true, desc: 'nil' , dontAddCommandList: true }, async (m, q) => { | |
await m.client.sendMessage(m.jid, await xv(q[1]), MessageType.video, {mimetype: Mimetype.mp4, quoted: m.data})}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Devil