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

Function findChannelById

packages/integration-discord/src/utils/linen.ts:75–77  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

73}
74
75export async function findChannelById(id: string) {
76 return await prisma.channels.findUnique({ where: { id } });
77}
78
79export async function findChannelByAccountIdAndExternalId({
80 accountId,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected