Skip to main content

AddGuildMemberOptions

@discordeno/bot


Documentation / @discordeno/bot / AddGuildMemberOptions

Interface: AddGuildMemberOptions

Defined in: packages/types/dist/types/discordeno.d.ts:590

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:592

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:600

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:598

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:594

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:596

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