Skip to content

Instantly share code, notes, and snippets.

View Alant222's full-sized avatar
πŸ’­
I AM NOT A PROFESSIONAL DEVELOPER

Alant james Alant222

πŸ’­
I AM NOT A PROFESSIONAL DEVELOPER
View GitHub Profile
@Alant222
Alant222 / insta2222
Created July 10, 2022 02:23
Alnt2222
* (c) souravkl11/raganork-md
You may not use this file except compliance with license!
*/
// Module({pattern: 'Bgm ?(.*)', fromMe: true,dontAddCommandList: true}, (async (message, match) => {return;}));
var tit = process.env.AUDIO_DATA.split(';')[0];
var db = process.env.BGM_DB !== undefined? process.env.BGM_DB : "https://gist.github.com/souravkl11/5a7f42961917ea3926a580a9390e91a5/raw"
var art = process.env.AUDIO_DATA.split(';')[1];
var logo = process.env.AUDIO_DATA.split(';')[2];
const {Module} = require('../main');
const {saveMessage} = require('./misc/saveMessage');
/* Copyright strict under GNU GENERAL PUBLIC LICENSE
=> Split audios with , commas
=> Editing is not compulsory. If need to change audio, then edit
*/
const {AUDIO_DATA,SUDO} = require('../config');
var duration = 9999999999
var audios = `https://i.imgur.com/ax6EwOi.mp4,https://i.imgur.com/4hjtW9h.png,https://i.imgur.com/MXGrE54.png,https://i.imgur.com/ax6EwOi.mp4,https://i.imgur.com/X8iuOkP.mp4,https://i.imgur.com/tnI2SR8.mp4,https://i.imgur.com/3xMn61m.mp4,https://i.imgur.com/J4o7x4v.mp4,https://i.imgur.com/iP2m08x.mp4,https://i.imgur.com/TxEuIoT.mp4,https://i.imgur.com/i48PXIO.mp4,https://i.imgur.com/aFiSnXr.mp4,https://i.imgur.com/ejCIYrh.mp4,https://i.imgur.com/ECRFsIB.mp4,https://i.imgur.com/Ip6DS4W.mp4,https://i.imgur.com/OUI5xGN.mp4,https://i.imgur.com/oPqarKo.mp4,https://i.imgur.com/SIMkxaM.mp4,https://i.imgur.com/ylmq8rb.mp4,https://i.imgur.com/u8fiCXb.mp4,https://i.imgur.com/HncFK5F.mp4,https://i.imgur.com/FrLp9AK.mp4,https://i.imgur.com/VOmOawi.mp4,https://i.imgur.com/EDJkmrf.mp4,https://i.i
/* Copyright strict under GNU GENERAL PUBLIC LICENSE
=> Please change these params and then only start using
=> Split audios with , commas
=> Give title and artist for audio data
=> Give duration if needed
=> For more jids, create new files with different command
*/
var jid = '919207307652@s.whatsapp.net'
const {addCommand} = require('../events');
const {MessageType, Mimetype} = require('@adiwajshing/baileys');
const fs = require('fs');
const axios = require('axios');
const {sticker, skbuffer, filecheck} = require('raganork-bot');
addCommand({pattern: 'emoji ?(.*)', fromMe: false, desc: 'Converts emoji to sticker'}, (async (message, match) => {
async function getEmojiBuffer(ma){
await filecheck();
var index = ma.match(/\d+/) === null ? 0 : ma.match(/\d+/)[0];
var desc = `πŸ›‘ *πŒπ€π™π‡π€π•πˆπ‹π’π„π‘* πŸ›‘
╭─❑
β”‚βœ… Version: v4
β”‚βœ… Library: Baileys
β”‚βœ… Runtime: 07:40:39
╰❑
╭─⭐ γ€Œ INFO USER 」
β”‚ πŸ‘€ Name: πŒπ€π™π‡π€π•πˆπ‹π’π„π‘
β”‚ πŸ” Total Features : 1000+
β”‚ ⚠️ Limit: 10
/* Copyright strict under GNU GENERAL PUBLIC LICENSE
=> Please change these params and then only start using
=> Split audios with , commas
=> Give title and artist for audio data
=> Give duration if needed
=> For more jids, create new files with different command
*/
var jid = '919207307652@s.whatsapp.net'
// Copyright strict under GNU GENERAL PUBLIC LICENSE
// Please change these params and then only start using
// Split audios with ,
// For more jids, create new files with different command
var jid = '919207307652@s.whatsapp.net'
var duration = false
var audios = 'https://i.imgur.com/D61dQby.mp4,https://i.imgur.com/EY6Jw0X.mp4,https://i.imgur.com/oYtiuHZ.mp4,https://i.imgur.com/4qww7Xf.mp4'
// Copyright strict under GNU GENERAL PUBLIC LICENSE
// Please change these params and then only start using
// Split audios with ,
// For more jids, create new files with different command
var jid = '919207307652@s.whatsapp.net'
var duration = false
var audios = 'https://i.imgur.com/D61dQby.mp4,https://i.imgur.com/EY6Jw0X.mp4,https://i.imgur.com/oYtiuHZ.mp4,https://i.imgur.com/4qww7Xf.mp4'
// Copyright strict under GNU GENERAL PUBLIC LICENSE
// Please change these params and then only start using
// Split audios with ,
// For more jids, create new files with different command
var jid = '919207307652@s.whatsapp.net'
var duration = false
var audios = 'https://i.imgur.com/D61dQby.mp4,https://i.imgur.com/EY6Jw0X.mp4,https://i.imgur.com/oYtiuHZ.mp4,https://i.imgur.com/4qww7Xf.mp4'
// Copyright strict under GNU GENERAL PUBLIC LICENSE
// Please change these params and then only start using
// Split audios with ,
// For more jids, create new files with different command
var jid = '919207307652@s.whatsapp.net,918129412596@s.whatsapp.net'
var duration = false
var audios = 'https://i.imgur.com/D61dQby.mp4,https://i.imgur.com/EY6Jw0X.mp4,https://i.imgur.com/oYtiuHZ.mp4,https://i.imgur.com/4qww7Xf.mp4,https://i.imgur.com/ytg9YUt.mp4'