RESTPatchAPIGuildMemberJSONBody
Index
Properties
optionalchannel_id
ID of channel to move user to (if they are connected to voice)
Requires MOVE_MEMBERS
permission
optionalcommunication_disabled_until
Timestamp of when the time out will be removed; until then, they cannot interact with the guild
optionaldeaf
Whether the user is deafened in voice channels. Will throw a 400 if the user is not in a voice channel
Requires DEAFEN_MEMBERS
permission
optionalmute
Whether the user is muted in voice channels. Will throw a 400 if the user is not in a voice channel
Requires MUTE_MEMBERS
permission
optionalnick
Value to set users nickname to
Requires MANAGE_NICKNAMES
permission
optionalroles
Array of role ids the member is assigned
Requires MANAGE_ROLES
permission
https://discord.com/developers/docs/resources/guild#modify-guild-member