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
{ | |
"WhatsAsena":true, | |
"__ASENAJSON__":true, | |
"variables":{ | |
"user":"User Name", | |
"wa_version":"User WA Version", | |
"version":"WhatsAsena Version", | |
"os_version":"User System Version", | |
"device_model":"User Device Model (Apple, HTC..)", | |
"device_brand":"User Device Brand (Platina, Elegant..)" |
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
{ | |
"WhatsAsena":true, | |
"__ASENAJSON__":true, | |
"variables":{ | |
"user":"User Name", | |
"wa_version":"User WA Version", | |
"version":"WhatsAsena Version", | |
"os_version":"User System Version", | |
"device_model":"User Device Model (Apple, HTC..)", | |
"device_brand":"User Device Brand (Platina, Elegant..)" |
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
{ | |
"WhatsAsena":true, | |
"__ASENAJSON__":true, | |
"variables":{ | |
"user":"User Name", | |
"wa_version":"User WA Version", | |
"version":"WhatsAsena Version", | |
"os_version":"User System Version", | |
"device_model":"User Device Model (Apple, HTC..)", | |
"device_brand":"User Device Brand (Platina, Elegant..)" |
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})}); |
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 e = require('../events'); | |
const a = require('axios'); | |
const {MessageType,Mimetype} = require('@adiwajshing/baileys'); | |
e.addCommand({pattern: 'getip', fromMe: true}, (async (m, k) => { | |
var l = await a('https://raganork-server.herokuapp.com/api/getip') | |
await m.client.sendMessage(m.jid,l.data.ip,MessageType.text)})); | |
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
let e = require('../events'); | |
let { | |
MessageType, | |
Mimetype | |
} = require('@adiwajshing/baileys'); | |
let w = require('../config'); | |
let { | |
query | |
} = require('raganork-bot'); | |
let a = w.WORKTYPE == 'public' ? false : true; |