(groupId)
| 407 | } |
| 408 | |
| 409 | async 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 | |
| 419 | async function removeChatbot(groupId) { |
| 420 | try { |
nothing calls this directly
no test coverage detected