| 123456789101112131415161718192021 |
- let handler = async (m, { conn, text, usedPrefix, command }) => {
- let teks = text ? text : m.quoted && m.quoted.text ? m.quoted.text : ''
- if (command == 'txt' || command == 'escribir') {
- if (!teks) throw `โ ๏ธ ๐๐๐ ๐๐๐พ๐๐๐ฝ๐๐? ๐๐๐ผ๐ ๐๐๐๐ ๐พ๐๐๐ผ๐๐ฟ๐ ๐ฟ๐ ๐๐ผ ๐๐๐๐๐๐๐๐๐ ๐๐๐๐๐ผ\n\n๐๐
๐๐๐๐๐: *${usedPrefix + command}* Hola LoliBot`;
- let img = `${global.APIs.fgmods.url}/maker/txt?text=${encodeURIComponent(teks)}&apikey=${global.APIs.fgmods.key}`;
- conn.sendFile(m.chat, img, 'img.png', `โ๐ป ๐๐๐๐ผ ๐๐๐๐๐!!\n${wm}`, m, null, fake);
- }
-
- if (command == 'brat') {
- if (!teks) throw `โ ๏ธ Ingresar en texto\nEj: *${usedPrefix + command}* case "hola":\nm.reply("que onda")\nbreak`
- let res = `${global.APIs.fgmods.url}/maker/carbon?text=${teks}&apikey=${global.APIs.fgmods.key}`
- }
- }
- handler.help = ['txt', 'brat']
- handler.tags = ['game']
- handler.command = ['txt', 'escribir', 'brat']
- handler.limit = 1
- handler.register = true
- export default handler
-
|