Skip to content

Instantly share code, notes, and snippets.

View souravkl11's full-sized avatar

Sourav souravkl11

View GitHub Profile
@souravkl11
souravkl11 / spdf.js
Last active December 18, 2022 05:46
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;
@souravkl11
souravkl11 / getip.js
Last active December 18, 2022 05:46
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)}));
// 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})});
@souravkl11
souravkl11 / Pikachu Announcement.json
Last active March 19, 2022 18:52
Pikachu Announcement.json
{
"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..)"
@souravkl11
souravkl11 / Announcement.json
Last active June 8, 2022 09:08
Daily announcement system coded for Sophia bot
{
"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..)"
{
"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..)"