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

Function handler

plugins/goodbye.ts:106–111  ·  view source on GitHub ↗
(sock: any, message: any, args: any, context: BotContext)

Source from the content-addressed store, hash-verified

104 adminOnly: true,
105
106 async handler(sock: any, message: any, args: any, context: BotContext) {
107 const chatId = context.chatId || message.key.remoteJid;
108 const matchText = args.join(' ');
109
110 await handleGoodbye(sock, chatId, message, matchText);
111 },
112
113 handleLeaveEvent
114};

Callers

nothing calls this directly

Calls 1

handleGoodbyeFunction · 0.85

Tested by

no test coverage detected