AddGuildMemberOptions
Documentation / @discordeno/bot / AddGuildMemberOptions
Interface: AddGuildMemberOptions
Defined in: packages/types/dist/types/discordeno.d.ts:577
https://discord.com/developers/docs/resources/guild#add-guild-member-json-params
Properties
accessToken
accessToken:
string
Defined in: packages/types/dist/types/discordeno.d.ts:579
access token of a user that has granted your app the guilds.join
scope
deaf?
optional
deaf:boolean
Defined in: packages/types/dist/types/discordeno.d.ts:587
Whether the user is deafened in voice channels. Requires DEAFEN_MEMBERS permission on the bot
mute?
optional
mute:boolean
Defined in: packages/types/dist/types/discordeno.d.ts:585
Whether the user is muted in voice channels. Requires MUTE_MEMBERS permission on the bot
nick?
optional
nick:string
Defined in: packages/types/dist/types/discordeno.d.ts:581
Value to set user's nickname to. Requires MANAGE_NICKNAMES permission on the bot
roles?
optional
roles:string
[]
Defined in: packages/types/dist/types/discordeno.d.ts:583
Array of role ids the member is assigned. Requires MANAGE_ROLES permission on the bot