import { type RESTPutAPIGuildMemberJSONBody } from "https://deno.land/x/discord_api_types@0.37.61/rest/mod.ts";
Properties
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
roles: Snowflake[] | undefinedArray of role ids the member is assigned
Requires MANAGE_ROLES
permission
Whether the user is muted in voice channels
Requires MUTE_MEMBERS
permission