Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface DiscordTeamMember
import { type DiscordTeamMember } from "https://deno.land/x/discordeno@17.2.0/plugins/cache/deps.ts";

Properties

membership_state: TeamMembershipStates

The user's membership state on the team

permissions: "*"[]

Will always be ["*"]

team_id: string

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

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

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