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

Function buildUserAvatar

apps/web/services/discord/users.ts:94–102  ·  view source on GitHub ↗
({
  userId,
  avatarId,
}: {
  userId: string;
  avatarId: string;
})

Source from the content-addressed store, hash-verified

92};
93
94function buildUserAvatar({
95 userId,
96 avatarId,
97}: {
98 userId: string;
99 avatarId: string;
100}): string {
101 return `https://cdn.discordapp.com/avatars/${userId}/${avatarId}.png`;
102}
103
104export async function findUsers(
105 accountId: string,

Callers 2

parseUserFunction · 0.85
parseAuthorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected