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