Type alias AddGuildMemberData

AddGuildMemberData: {
    access_token: string;
    deaf?: boolean;
    mute?: boolean;
    nick?: string;
    roles?: string[];
}

Type declaration

  • access_token: string

    oauth2 access token with a guilds.join scope enabled

  • Optional deaf?: boolean

    if the new member is deaf

  • Optional mute?: boolean

    if the new member should be muted

  • Optional nick?: string

    nickname of the new member

  • Optional roles?: string[]

    Array of Role Ids the new member should have

Generated using TypeDoc