forked from Shizu-Hub/Shizu-Bot-MD
-
Notifications
You must be signed in to change notification settings - Fork 65
/
Copy pathconvertidor-togifaud.js
12 lines (11 loc) ยท 1.11 KB
/
convertidor-togifaud.js
1
2
3
4
5
6
7
8
9
10
11
12
/* ๐๐๐๐๐๐ ๐๐๐ https://github.com/BrunoSobrino */
let handler = async (m, { conn, usedPrefix, command }) => {
if (!m.quoted) throw `*[โ๐๐๐
๐โ] ๐๐ด๐๐ฟ๐พ๐ฝ๐ณ๐ฐ ๐ฐ ๐๐ฝ ๐
๐ธ๐ณ๐ด๐พ ๐๐๐ด ๐ณ๐ด๐๐ด๐ด ๐ฒ๐พ๐ฝ๐
๐ด๐๐๐ธ๐ ๐ด๐ฝ ๐ถ๐ธ๐ต ๐ฒ๐พ๐ฝ ๐ฐ๐๐ณ๐ธ๐พ*`
const q = m.quoted || m
let mime = (q.msg || q).mimetype || ''
if (!/(mp4)/.test(mime)) throw `*[โ] ๐ด๐ป ๐๐ธ๐ฟ๐พ ๐ณ๐ด ๐ฐ๐๐ฒ๐ท๐ธ๐
๐พ ${mime} ๐ฝ๐พ ๐ด๐ ๐ฒ๐พ๐๐๐ด๐ฒ๐๐พ, ๐๐ด๐๐ฟ๐พ๐ฝ๐ณ๐ฐ ๐ฐ ๐๐ฝ ๐
๐ธ๐ณ๐ด๐พ ๐๐๐ด ๐ณ๐ด๐๐ด๐ด ๐ฒ๐พ๐ฝ๐
๐ด๐๐๐ธ๐ ๐ด๐ฝ ๐ถ๐ธ๐ต ๐ฒ๐พ๐ฝ ๐ฐ๐๐ณ๐ธ๐พ*`
m.reply(global.wait)
let media = await q.download()
conn.sendMessage(m.chat, { video: media, gifPlayback: true, caption: '*แดฯแดษช แดsแดแด sแด ษขษชา แดแดษด แดแดแด
ษชแด, แดส แดสสษชสสแด sแด สแดแดสแดแด
แดแดแด แดแดษด แดแดแด
ษชแด*' }, { quoted: m })}
handler.command = ['togifaud']
export default handler