maker-blackpink.js 575 B

1234567891011121314151617
  1. let handler = async (m, { conn, text, args, usedPrefix, command }) => {
  2. let response = args.join(' ').split('|')
  3. if (!text) throw `⚠️ Ingresa un texto junto al comando.`
  4. await m.react('🕓')
  5. try {
  6. let res = `https://api.lolhuman.xyz/api/textprome/blackpink?apikey=${lolkeysapi}&text=${text}`
  7. await conn.sendFile(m.chat, res, 'thumbnail.jpg', listo, m)
  8. await m.react('✅')
  9. } catch {
  10. await m.react('❌')
  11. }}
  12. handler.help = ['blackpink *<texto>*']
  13. handler.tags = ['logo']
  14. handler.command = /^(blackpink)$/i
  15. handler.limit = 3
  16. handler.register = true
  17. export default handler