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

Function getCommunityName

packages/serializers/src/settings.ts:33–42  ·  view source on GitHub ↗
(
  account: Pick<accounts, 'slackDomain' | 'discordDomain' | 'discordServerId'>
)

Source from the content-addressed store, hash-verified

31}
32
33function getCommunityName(
34 account: Pick<accounts, 'slackDomain' | 'discordDomain' | 'discordServerId'>
35) {
36 return (
37 account.slackDomain ||
38 account.discordDomain ||
39 account.discordServerId ||
40 ''
41 );
42}
43
44/**
45 * free - https://linen.dev/{s,d}/{communityName}

Callers 2

getCommunityUrlFunction · 0.70
serializeSettingsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected