import { type APIGuildMember } from "https://deno.land/x/discord_api_types@0.37.30/payloads/v9/mod.ts";
Properties
optional
user: APIUserThe user this guild member represents
This field won't be included in the member object attached to MESSAGE_CREATE
and MESSAGE_UPDATE
gateway events.
See https://discord.com/developers/docs/resources/user#user-object
roles: Snowflake[]
Array of role object ids
See https://discord.com/developers/docs/topics/permissions#role-object
flags: GuildMemberFlags
Guild member flags represented as a bit set, defaults to 0
Whether the user has not yet passed the guild's Membership Screening requirements
If this field is not present, it can be assumed as false
.