MCPcopy Index your code
hub / github.com/Linen-dev/linen.dev / isBot

Function isBot

packages/maintenance/src/import-users.ts:44–47  ·  view source on GitHub ↗
(role: SlackRole)

Source from the content-addressed store, hash-verified

42};
43
44const isBot = (role: SlackRole): boolean => {
45 if (role === 'Bot') return true;
46 return false;
47};
48
49const shouldCreateAuth = (role: SlackRole): boolean => {
50 if (role === 'Deactivated') return false;

Callers 1

runFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected