MCPcopy Create free account
hub / github.com/GlobalTechInfo/MEGA-MD / handler

Function handler

plugins/goodbye.js:99–103  ·  view source on GitHub ↗
(sock, message, args, context)

Source from the content-addressed store, hash-verified

97 groupOnly: true,
98 adminOnly: true,
99 async handler(sock, message, args, context) {
100 const chatId = context.chatId || message.key.remoteJid;
101 const matchText = args.join(' ');
102 await handleGoodbye(sock, chatId, message, matchText);
103 },
104 handleLeaveEvent
105};

Callers

nothing calls this directly

Calls 1

handleGoodbyeFunction · 0.90

Tested by

no test coverage detected