Discord.https - v3.0.16
    Preparing search index...

    Interface RESTPatchAPIGuildMemberJSONBody

    interface RESTPatchAPIGuildMemberJSONBody {
        channel_id?: null | string;
        communication_disabled_until?: null | string;
        deaf?: null | boolean;
        mute?: null | boolean;
        nick?: null | string;
        roles?: null | string[];
    }
    Index

    Properties

    channel_id?: null | string

    ID of channel to move user to (if they are connected to voice)

    Requires MOVE_MEMBERS permission

    communication_disabled_until?: null | string

    Timestamp of when the time out will be removed; until then, they cannot interact with the guild

    deaf?: null | boolean

    Whether the user is deafened in voice channels. Will throw a 400 if the user is not in a voice channel

    Requires DEAFEN_MEMBERS permission

    mute?: null | boolean

    Whether the user is muted in voice channels. Will throw a 400 if the user is not in a voice channel

    Requires MUTE_MEMBERS permission

    nick?: null | string

    Value to set users nickname to

    Requires MANAGE_NICKNAMES permission

    roles?: null | string[]

    Array of role ids the member is assigned

    Requires MANAGE_ROLES permission