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

Properties

optional
nick: string

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

optional
roles: RoleId[]

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

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: MUTEMEMBERS)

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: DEAFENMEMBERS)

optional
channelId: ChannelId

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