MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / hasConfiguredChatApp

Function hasConfiguredChatApp

web/js/chat-apps-dialog.js:38–48  ·  view source on GitHub ↗
(adapters = {})

Source from the content-addressed store, hash-verified

36}
37
38function hasConfiguredChatApp(adapters = {}) {
39 const telegramConfigured = Boolean(adapters.telegram?.token);
40 const slackConfigured = Boolean(
41 adapters.slack?.botToken && adapters.slack?.appToken,
42 );
43 const feishuConfigured = Boolean(
44 adapters.feishu?.appId && adapters.feishu?.appSecret,
45 );
46
47 return telegramConfigured || slackConfigured || feishuConfigured;
48}
49
50function getInitialChatAppsTab(adapters = {}) {
51 if (adapters.telegram?.token) {

Callers 1

updateChatAppsButtonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected