Skip to content

Instantly share code, notes, and snippets.

@mask-sir
Created June 21, 2022 14:04
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 35 You must be signed in to fork a gist
  • Save mask-sir/7039ba28830665af850441ed94c115d2 to your computer and use it in GitHub Desktop.
Save mask-sir/7039ba28830665af850441ed94c115d2 to your computer and use it in GitHub Desktop.
Get random Whatsappp Status
const {Module} = require('../main')
const {
MODE
} = require('../config');
const {
getJson
} = require('./misc/misc');
const {
skbuffer
} = require('raganork-bot');
let w = MODE == 'public' ? false : true
Module({pattern: "status ?(.*)",fromMe: w,desc: 'malayalam random STATUS'}, async(m) => {
const { result } = await getJson('https://gist.github.com/mask-sir/e3f3f9a277e6e8d38da97e8d15294e39/raw')
const mask = result[Math.floor(Math.random()*result.length)];
await m.sendReply({url: mask},'video')
});
@sinanks
Copy link

sinanks commented Jun 22, 2022

Gy

@Leovichu
Copy link

.install .

@Erick-Wuma7
Copy link

.install .

Did it install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment