An oauth2 access token granted with the guilds.join
to the bot's application for the user you want to add to the guild
Optional
deafWhether the user is deafened in voice channels
Requires DEAFEN_MEMBERS
permission
Optional
muteWhether the user is muted in voice channels
Requires MUTE_MEMBERS
permission
Optional
nickValue to set users nickname to
Requires MANAGE_NICKNAMES
permission
Optional
rolesArray of role ids the member is assigned
Requires MANAGE_ROLES
permission
Generated using TypeDoc
https://discord.com/developers/docs/resources/guild#add-guild-member