Interface AddMemberOptions

interface AddMemberOptions {
    accessToken: string;
    deaf?: boolean;
    mute?: boolean;
    nick?: string;
    roles?: string[];
}

Properties

accessToken: string

The access token of the user to add.

deaf?: boolean

If the user should be deafened or not.

mute?: boolean

If the user should be muted or not.

nick?: string

The nickname of the user to add.

roles?: string[]

The IDs of the roles to add to the user. This bypasses membership screening and verification levels.