-
-
Save phaticusthiccy/f12e0bb8ec8ad84ed7144c412db045a9 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
| /* Codded by @phaticusthiccy | |
| Telegram: t.me/phaticusthiccy | |
| Instagram: www.instagram.com/kyrie.baran | |
| */ | |
| const Asena = require('../events'); | |
| const {MessageType, MessageOptions, Mimetype} = require('@adiwajshing/baileys'); | |
| const fs = require('fs'); | |
| const ffmpeg = require('fluent-ffmpeg'); | |
| const {execFile} = require('child_process'); | |
| const cwebp = require('cwebp-bin'); | |
| Asena.addCommand({pattern: 'vef ?(.*)', fromMe: true}, (async (message, match) => { | |
| if (match[1] === 'a') { | |
| return await message.sendMessage('Efekt ismi gir!'); | |
| } else if (match[1] === 'test') { | |
| await message.client.sendMessage(message.jid, { url: 'https://dosya.co/0rm777qsgge7/jamaisvu.34-20200723-0002.mp3.html' }, MessageType.audio, { mimetype: Mimetype.mp4Audio, ptt: true }); | |
| } else { | |
| await message.sendMessage('Efekt ismi gir!'); | |
| } | |
| })); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment