Last active
December 14, 2020 23:53
-
-
Save phaticusthiccy/4eb0efbdfde21e8b1520a86c6ca8f8ff to your computer and use it in GitHub Desktop.
This file contains hidden or 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('../events'); | |
| const {MessageType} = require('@adiwajshing/baileys'); | |
| Asena.addCommand({pattern: 'sessiz1', fromMe: true}, (async (message, match) => { | |
| await new Promise(r => setTimeout(r, 1000)); | |
| await message.sendMessage('*Grup 1 dakika süreyle susturuldu!*'); | |
| await new Promise(r => setTimeout(r, 2000)); | |
| await message.sendMessage('!mute all'); | |
| await new Promise(r => setTimeout(r, 60000)); | |
| await message.sendMessage('!unmute'); | |
| await new Promise(r => setTimeout(r, 3000)); | |
| await message.sendMessage('*Pekâlâ Patron. Sohbet tekrardan açılmıştır!*'); | |
| })); | |
| Asena.addCommand({pattern: 'infosessiz1', fromMe: true,}, (async (message, match) => { | |
| await message.sendMessage('*Codded by @phaticusthiccy*\nSilence the chat for one minute.\nUsage: *.sessiz1*') | |
| })); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment