Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
interface DiscordTeamMember
import { type DiscordTeamMember } from "https://deno.land/x/discordeno@13.0.0-rc45/plugins/permissions/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