Skip to content

Instantly share code, notes, and snippets.

View spark-shadow's full-sized avatar
💭
One Day :)

Shadow spark-shadow

💭
One Day :)
View GitHub Profile
@spark-shadow
spark-shadow / MENU [ V3 ].js
Last active October 24, 2024 16:50
⚡🎉 𝚂𝚃𝚈𝙻𝙸𝚂𝙷 𝙼𝙴𝙽𝚄 [ 𝚅𝟹 ] 🎉⚡
/* STYLISH MENU [ V3 ] - CODED BY SHADOW
☞ CREDITS...💘
* SHADOW - PLUGIN OWNER
* LYFE - MODULES OWNER
* INSANE - LOGOS CREATOR
---------------
✎changelog:
const Shadow = require('../Utilis/events')
const {MessageType, MessageOptions, Mimetype, Presence} = require('@adiwajshing/baileys');
const { parseJid } = require("../Utilis/vote");
//scam by shadow
//what is the use of scam = it will make a fake action on whatsapp Like typing,reccoridng,online,offline.....
let tostop = ''
Shadow.addCommand({ pattern: 'scam ?(.*)', fromMe: true, desc: "Creates 5 minutes of fake actions", }, async (message, match) => {
let [jid] = match.match(parseJid) || []
jid = !jid ? message.jid : jid
match = match.split(' ')[0]
const Shadow = require('../Utilis/events')
const { getBuffer, uploadImage } = require('../Utilis/download')
const { MessageType, Mimetype } = require('@adiwajshing/baileys')
Shadow.addCommand({ pattern: 'picmaker ?(.*)', fromMe: true, desc: "make photo effec", dontAddCommandList: true }, async (message, match) => {
await message.sendMessage('```delete\n\njail\n\ngta\n\npassed\n\ncontract\n\nccrop\n\ngray\n\ncalender\n\nfire\n\nmissing\n\nonbook\n\n2onbook\n\ncomment\n\n```', {quoted: message.data})
});
//photo editor by shadow
Shadow.addCommand({ pattern: 'delete ?(.*)', fromMe: true, desc: "make photo effec" }, async (message, match) => {
if (match === '') return await message.sendMessage('give me a url')
@spark-shadow
spark-shadow / shadow_pack.js
Last active January 28, 2022 21:19
Group subject & desc chanager
const Shadow = require("../Utilis/events");
const {MessageType, GroupSettingChange} = require('@adiwajshing/baileys')
const got = require("got")
const axios = require('axios')
async function checkImAdmin(message, user = message.client.user.jid) {
var grup = await message.client.groupMetadata(message.jid);
var spark = grup['participants'].map((member) => {
if (member.jid.split("@")[0] == user.split("@")[0] && member.isAdmin) return true; else; return false;
const Shadow = require("../Utilis/events");
const { forwardOrBroadCast } = require("../Utilis/groupmute");
const { getBuffer } = require('../Utilis/download');
const { parseJid } = require("../Utilis/vote");
// shadow
Shadow.addCommand(
{ pattern: 'send ?(.*)', fromMe: true, desc: "Forward replied msg." },
async (message, match) => {
if (match == "") return await message.sendMessage("*Give me a jid*\nExample .send jid1 jid2 jid3 jid4 ...");
if (!message.reply_message)
@spark-shadow
spark-shadow / crop_sticker.js
Last active July 2, 2022 20:26
CSTICKER - CROP STICKER AS 1:1 RATIO
const Shadow = require('../Utilis/events')
const { MessageType, Mimetype } = require("@adiwajshing/baileys");
const { sticker, addExif, cropsticker } = require("../Utilis/fFmpeg");
//csticker by lyfe ser
//re edited & created as external by Shadow...
Shadow.addCommand( //by shadow...
{ pattern: "cs ?(.*)", fromMe: true, desc: "croped sticker maker" },
async (message, match) => {
if (
!message.reply_message ||
@spark-shadow
spark-shadow / shadow_ttp.js
Last active March 16, 2024 17:07
TexT to webp maker
const Shadow = require('../Utilis/events')
const { ePhotoDownload, getJson, getBuffer } = require('../Utilis/download')
const { MessageType, Mimetype } = require('@adiwajshing/baileys')
const {sticker} = require('../Utilis/fFmpeg')
const need = "*give me text*"
//ttp maker by Shadow
Shadow.addCommand({ pattern: 'ttp list ?(.*)', fromMe: true, desc: "Text to webp maker", }, async (message, match) => {
return await message.sendMessage(`╭────────────────╮
❏ TTP MAKER ❏
╰────────────────╯
const Asena = require("../Utilis/events");
const {MessageType, GroupSettingChange, ChatModification, WAConnectionTest} = require('@adiwajshing/baileys');
const { parsedJid } = require("../Utilis/Misc");
//Coded by Shadow ( dont copy or edit codes without ctedits )
Asena.addCommand({ pattern: 'clear ?(.*)', fromMe: true, desc: "chat clearing cmnd", }, async (message, match) => {
//Coded by Shadow
if(match == ''){
await message.sendMessage('```cleaning chat...```');
await message.client.modifyChat (message.jid, ChatModification.delete);
await message.sendMessage('```🏳 Chat cleared 🏳```');