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 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] |
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 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') |
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 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; |
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 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) |
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 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 || |
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 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 ❏ | |
╰────────────────╯ |
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 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 🏳```'); |