RESTPutAPIGuildMemberJSONBody
Index
Properties
Properties
access_token
An oauth2 access token granted with the guilds.join
to the bot’s application for the user you want to add to the guild
optionaldeaf
Whether the user is deafened in voice channels
Requires DEAFEN_MEMBERS
permission
optionalmute
Whether the user is muted in voice channels
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#add-guild-member
API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.