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

Properties

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 channels. Will throw a 400 if the user is not in a voice channe (requires permission: MUTE_MEMBERS)

optional
deaf: boolean

whether the user is deafened in voice channels. Will throw a 400 if the user is not in a voice channel (requires permission: DEAFEN_MEMBERS)

optional
channel_id: ChannelId

id of channel to move user to (if they are connected to voice) (requires permission: MOVE_MEMBERS)