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

Function getBillingChannel

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

Source from the content-addressed store, hash-verified

145 * Get the configured billing notification Slack channel
146 */
147export async function getBillingChannel(): Promise<BillingChannelSetting> {
148 const result = await getSetting<BillingChannelSetting>(SETTING_KEYS.BILLING_SLACK_CHANNEL);
149 return result ?? { channel_id: null, channel_name: null };
150}
151
152/**
153 * Set the billing notification Slack channel

Callers 4

sendBillingNotificationFunction · 0.85
getSystemChannelRoleFunction · 0.85
gatherConfiguredChannelsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected