Created
May 20, 2025 09:55
-
-
Save herzonly/0b52642b1a91f87118d8280beaba7f07 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
/* | |
@ author: Herza | |
@ type : CommonJS | |
@ ========> Info <========= | |
@ github: https://github.com/herzonly | |
@ wa_channel: https://whatsapp.com/channel/0029VaGVOvq1iUxY6WgHLv2R | |
*/ | |
const { llama } = require('notmebotz-tools') | |
let handler = async (m, { conn, text, usedPrefix, command }) => { | |
if(!text) return m.reply(`Masukkan Pesan, Example:\n\n${usedPrefix + command} Hai, apakah kamu Meta AI?`) | |
try { | |
let zzx = await llama(text) | |
await conn.sendMessage(m.chat, { | |
text: zzx.data.msg, | |
contextInfo: { | |
externalAdReply: { | |
thumbnailUrl: 'https://cdnme.ejs.biz.id/file/7728fe.jpg', | |
soureUrl: 'https://meta.ai', | |
body: 'META AI || Hi There', | |
title: 'META AI || ASK ME ANYTHING', | |
renderLargerThumbnail: true, | |
mediaType: 1, | |
previewType: 1 | |
} | |
} | |
}, { quoted: m }) | |
} catch (dog) { | |
m.reply('My system crashed' + dog) | |
console.log(dog) | |
} | |
} | |
handler.help = handler.command = ['metaai', 'llamaai', 'llama'] | |
handler.register = true | |
handler.limit = 2 | |
handler.tags = ['ai', 'tools'] | |
module.exports = handler; | |
/*This Code Uploaded By NotMeBotz - MD, DO NOT DELETE WM | | Tuesday, 20 May 2025 || 16:55:48 WIB */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment