Skip to main content

AddGuildMemberOptions

Documentation


Documentation / @discordeno/types / AddGuildMemberOptions

Interface: AddGuildMemberOptions

Defined in: discordeno/guild.ts:134

https://docs.discord.com/developers/resources/guild#add-guild-member-json-params

Properties

accessToken

accessToken: string

Defined in: discordeno/guild.ts:136

access token of a user that has granted your app the guilds.join scope


deaf?

optional deaf?: boolean

Defined in: discordeno/guild.ts:144

Whether the user is deafened in voice channels. Requires DEAFEN_MEMBERS permission on the bot


mute?

optional mute?: boolean

Defined in: discordeno/guild.ts:142

Whether the user is muted in voice channels. Requires MUTE_MEMBERS permission on the bot


nick?

optional nick?: string

Defined in: discordeno/guild.ts:138

Value to set user's nickname to. Requires MANAGE_NICKNAMES permission on the bot


roles?

optional roles?: BigString[]

Defined in: discordeno/guild.ts:140

Array of role ids the member is assigned. Requires MANAGE_ROLES permission on the bot