interface RESTPatchAPIGuildMemberJSONBody

external
export interface RESTPatchAPIGuildMemberJSONBody

https://discord.com/developers/docs/resources/guild#modify-guild-member

optionalexternal
channel_id? : Snowflake | null | undefined

ID of channel to move user to (if they are connected to voice)Requires MOVE_MEMBERS permission

optionalexternal
communication_disabled_until? : string | null | undefined

Timestamp of when the time out will be removed; until then, they cannot interact with the guild

optionalexternal
deaf? : boolean | null | undefined

Whether the user is deafened in voice channels. Will throw a 400 if the user is not in a voice channelRequires DEAFEN_MEMBERS permission

optionalexternal
mute? : boolean | null | undefined

Whether the user is muted in voice channels. Will throw a 400 if the user is not in a voice channelRequires MUTE_MEMBERS permission

optionalexternal
nick? : string | null | undefined

Value to set users nickname toRequires MANAGE_NICKNAMES permission

optionalexternal
roles? : Snowflake[] | null | undefined

Array of role ids the member is assignedRequires MANAGE_ROLES permission