text: const { default: makeWASocket, BufferJSON, WA_DEFAULT_EPHEMERAL, generateWAMessageFromContent, downloadContentFromMessage, downloadHistory, proto, getMessage, generateWAMessageContent, prepareWAMessageMedia } = require('@adiwajshing/baileys-md')
  let fs = require('fs')
  let fetch = require('node-fetch')
  let moment = require('moment-timezone')
  let handler = async (m) => {
      let who
      if (m.isGroup) who = m.mentionedJid[0] ? m.mentionedJid[0] : m.sender
      else who = m.sender
      let user = global.db.data.users[who]
  let tqto = `
   𝘿𝙤𝙣𝙖𝙨𝙞 • 𝙀𝙢𝙤𝙣𝙚𝙮 
  _DANA_ : *0899-2029-499*
  _SAWERIA_ : *https://saweria.co/cocopie*
  _PULSA_ : *0895-3544-37300*`
       const template = generateWAMessageFromContent(m.chat, proto.Message.fromObject({
       templateMessage: {
           hydratedTemplate: {
             hydratedContentText: tqto,
             locationMessage: { 
             jpegThumbnail: await (await fetch(`https://i.ibb.co/rkTg7B0/donasi.jpg`)).buffer() }, 
             hydratedFooterText: wm,
             hydratedButtons: [{
               urlButton: {
                 displayText: 'Souce Code',
                 url: 'https://github.com/iCocopie/CocoBotzV8'
               }
  
             },
         
                 {
               quickReplyButton: {
                 displayText: 'Back To Menu',
                 id: '.menu',
               }
  
             }]
           }
         }
       }), { userJid: m.sender, quoted: m });
      //conn.reply(m.chat, text.trim(), m)
      return await conn.relayMessage(
           m.chat,
           template.message,
           { messageId: template.key.id }
       )
  }
  
  handler.help = ['donasi']
  handler.tags = ['info']
  handler.command = /^dona(te|si)$/i
  
  module.exports = handler
  