import { type RESTPatchAPIGuildMemberJSONBody } from "https://deno.land/x/discord_api_types@0.37.54/v10.ts";
Properties
Value to set users nickname to
Requires MANAGE_NICKNAMES
permission
optional
roles: Snowflake[] | null | undefinedArray of role ids the member is assigned
Requires MANAGE_ROLES
permission
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
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
optional
channel_id: Snowflake | null | undefinedID of channel to move user to (if they are connected to voice)
Requires MOVE_MEMBERS
permission