Skip to main content
Latest
interface TeamMember
Re-export
import { type TeamMember } from "https://deno.land/x/discordeno_cache_plugin@0.0.21/deps.ts";

Properties

membershipState: TeamMembershipStates

The user's membership state on the team

permissions: ["*"]

Will always be ["*"]

teamId: string

The id of the parent team of which they are a member

user: Partial<User> & Pick<User,
| "avatar"
| "discriminator"
| "id"
| "username"
>

The avatar, discriminator, id, and username of the user