Skip to main content

AddGuildMemberOptions

@discordeno/bot


Documentation / @discordeno/bot / AddGuildMemberOptions

Interface: AddGuildMemberOptions

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

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

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

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

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

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

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