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

Function getChatbot

lib/index.js:409–417  ·  view source on GitHub ↗
(groupId)

Source from the content-addressed store, hash-verified

407}
408
409async function getChatbot(groupId) {
410 try {
411 const data = loadUserGroupData();
412 return data.chatbot?.[groupId] || null;
413 } catch (error) {
414 console.error('Error getting chatbot:', error);
415 return null;
416 }
417}
418
419async function removeChatbot(groupId) {
420 try {

Callers

nothing calls this directly

Calls 1

loadUserGroupDataFunction · 0.70

Tested by

no test coverage detected