MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / getAdminChannel

Function getAdminChannel

server/src/db/system-settings-db.ts:197–200  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

195 * Get the configured admin notification Slack channel
196 */
197export async function getAdminChannel(): Promise<AdminChannelSetting> {
198 const result = await getSetting<AdminChannelSetting>(SETTING_KEYS.ADMIN_SLACK_CHANNEL);
199 return result ?? { channel_id: null, channel_name: null };
200}
201
202/**
203 * Set the admin notification Slack channel

Callers 5

getSystemChannelRoleFunction · 0.85
runBrandLogoDigestJobFunction · 0.85
gatherConfiguredChannelsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected