wolfyflutter

sgwc npm baileys

Feb 17th, 2026
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import { getContentType } from "baileys"
  2.  
  3. async function handler({ sock, m, q, text, jid, command, prefix }) {
  4.     const ct = getContentType(m.message)
  5.     const WAMC = {
  6.         groupStatusMessageV2: {
  7.             message: m.message[ct].contextInfo.quotedMessage
  8.         }
  9.     }
  10.     let temp = WAMC
  11.     return await sock.relayMessage(jid, temp, {})
  12. }
  13.  
  14. handler.pluginName = 'swgc'
  15. handler.description = 'swgc awo'
  16. handler.command = ['swgc']
  17. handler.category = ['example']
  18.  
  19. handler.meta = {
  20.     fileName: 'swgc.js',
  21.     version: '1',
  22.     author: 'wolep',
  23.     note: 'swgc ror',
  24. }
  25. export default handler
Add Comment
Please, Sign In to add comment