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

Function isAllowToSendMessages

apps/web/services/slack/api/postMessage.ts:271–273  ·  view source on GitHub ↗
(s: slackAuthorizations)

Source from the content-addressed store, hash-verified

269}
270
271function isAllowToSendMessages(s: slackAuthorizations): boolean {
272 return s.scope.indexOf('chat:write') > -1;
273}
274
275function isAllowToCustomizeAuthor(slackToken: slackAuthorizations): boolean {
276 return slackToken.scope.indexOf('chat:write.customize') > -1;

Callers 1

slackChatSyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected