MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / getBotUserId

Function getBotUserId

apps/web/services/slack/sync/getBotUserId.ts:6–9  ·  view source on GitHub ↗
(botId: string, token: string)

Source from the content-addressed store, hash-verified

4const memoizedGetSlackBot = promiseMemoize(getSlackBot);
5
6export async function getBotUserId(botId: string, token: string) {
7 const bot = await memoizedGetSlackBot(botId, token);
8 return bot.user_id;
9}

Callers 2

saveMessagesSynchronousFunction · 0.90
saveMessagesTransactionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected