MCPcopy Create free account
hub / github.com/Xchristech2/Zenitsu-Bot / getGoodbye

Function getGoodbye

lib/index.js:327–335  ·  view source on GitHub ↗
(jid)

Source from the content-addressed store, hash-verified

325}
326
327async function getGoodbye(jid) {
328 try {
329 const data = loadUserGroupData();
330 return data.goodbye && data.goodbye[jid] ? data.goodbye[jid].message : null;
331 } catch (error) {
332 console.error('Error in getGoodbye:', error);
333 return null;
334 }
335}
336
337// Add these functions to your existing SQL helper file
338async function setAntiBadword(groupId, type, action) {

Callers 1

handleLeaveEventFunction · 0.85

Calls 1

loadUserGroupDataFunction · 0.70

Tested by

no test coverage detected