Skip to main content
interface RawAddGuildMemberPayload
import { type RawAddGuildMemberPayload } from "https://deno.land/x/denord@0.1.0/raw/RawAddGuildMemberPayload.ts";

Properties

access_token: string

an oauth2 access token granted with the guilds.join to the bot's application for the user you want to add to the guild

optional
nick: string

value to set users nickname to (requires permission: MANAGE_NICKNAMES)

optional
roles: RoleId[]

array of role ids the member is assigned (requires permission: MANAGE_ROLES)

optional
mute: boolean

whether the user is muted in voice channel (requires permission: MUTE_MEMBERS)

optional
deaf: boolean

whether the user is deafened in voice channels (requires permission: DEAFEN_MEMBERS)