Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oasis/packages/deps.ts>DiscordTeamMember

An object oriented Discordeno framework
Latest
interface DiscordTeamMember
import { type DiscordTeamMember } from "https://deno.land/x/oasis@2.1.0/packages/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