import { type APIGuildMember } from "https://deno.land/x/discord_api_types@0.37.18/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
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
.