AddGuildMemberOptions

export interface AddGuildMemberOptions
export interface AddGuildMemberOptions
Options used to add a user to a guild using OAuth2.
accessToken:string
An OAuth2 access token for the user with the scope granted to the bot's application
deaf?:boolean
Whether the member should be deafened This property requires the permission.
fetchWhenExisting?:boolean
Whether to fetch the user if not cached and already a member
force?:boolean
Whether to skip the cache check and request the API directly
mute?:boolean
Whether the member should be muted This property requires the permission.
nick?:string
The nickname to give to the member This property requires the permission.
The roles to add to the member This property requires the permission.