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

Function user

packages/ast/parse/discord/spec-helpers/index.js:55–62  ·  view source on GitHub ↗
(id, label)

Source from the content-addressed store, hash-verified

53}
54
55function user(id, label) {
56 return {
57 type: 'user',
58 id,
59 label,
60 source: `<@${id}${label ? '|' + source(label) : ''}>`,
61 };
62}
63
64function channel(id, label) {
65 return {

Callers 1

index.spec.jsFile · 0.50

Calls 1

sourceFunction · 0.70

Tested by

no test coverage detected