Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GuildMemberStoreAddData

The data for {@link GuildMemberStore#add}.

since

0.0.1

see

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

Hierarchy

  • GuildMemberStoreAddData

Index

Properties

access_token

access_token: string

An oauth2 access token granted with the guilds.join to the bot's application for the user you want to add to the guild.

since

0.0.1

Optional deaf

deaf: undefined | false | true

Whether the user is deafened in voice channels.

since

0.0.1

Optional mute

mute: undefined | false | true

Whether the user is muted in voice channels.

since

0.0.1

Optional nick

nick: undefined | string

Value to set user's nickname to.

since

0.0.1

Optional roles

roles: string[]

Array of role IDs the member is assigned.

since

0.0.1

Generated using TypeDoc