Interface EditMemberOptions

interface EditMemberOptions {
    channelID?: null | string;
    communicationDisabledUntil?: null | string;
    deaf?: boolean;
    flags?: number;
    mute?: boolean;
    nick?: null | string;
    reason?: string;
    roles?: string[];
}

Properties

channelID?: null | string

The ID of the channel to move the member to. null to disconnect.

communicationDisabledUntil?: null | string

An ISO8601 timestamp to time out until. null to reset.

deaf?: boolean

If the member should be deafened.

flags?: number

The member's flags.

mute?: boolean

If the member should be muted.

nick?: null | string

The new nickname of the member. null to reset.

reason?: string

The reason for editing the member.

roles?: string[]

The new roles of the member.