export interface AddGuildMemberOptions
Options used to add a user to a guild using OAuth2.
string accessToken :
An OAuth2 access token for the user with the OAuth2Scopes.GuildsJoin scope granted to the bot's application
optionalboolean deaf? :
Whether the member should be deafened This property requires the PermissionFlagsBits.MuteMembers permission.
optionalboolean fetchWhenExisting? :
Whether to fetch the user if not cached and already a member
optionalboolean force? :
Whether to skip the cache check and request the API directly
optionalboolean mute? :
Whether the member should be muted This property requires the PermissionFlagsBits.MuteMembers permission.
optionalstring nick? :
The nickname to give to the member This property requires the PermissionFlagsBits.ManageNicknames permission.
optionalCollection<Snowflake, Role> | RoleResolvable[] roles? :
The roles to add to the member This property requires the PermissionFlagsBits.ManageRoles permission.