Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface DiscordMember
Re-export
import { type DiscordMember } from "https://deno.land/x/discordeno@18.0.1/template/beginner/deps.ts";

Properties

optional
deaf: boolean

Whether the user is deafened in voice channels

optional
mute: boolean

Whether the user is muted in voice channels

optional
pending: boolean

Whether the user has not yet passed the guild's Membership Screening requirements

optional
user: DiscordUser

The user this guild member represents

optional
nick: string | null

This users guild nickname

optional
avatar: string

The members custom avatar for this server.

roles: string[]

Array of role object ids

joined_at: string

When the user joined the guild

optional
premium_since: string | null

When the user started boosting the guild

optional
permissions: string

The permissions this member has in the guild. Only present on interaction events.

optional
communication_disabled_until: string | null

when the user's timeout will expire and the user will be able to communicate in the guild again (set null to remove timeout), null or a time in the past if the user is not timed out