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

    Interface RPCSelectVoiceChannelArgs

    When trying to join the user to a voice channel, you will receive a RPCErrorCodes.SelectVoiceForceRequired error coded response if the user is already in a voice channel. The force parameter should only be specified in response to the case where a user is already in a voice channel and they have approved to be moved by your app to a new voice channel.

    interface RPCSelectVoiceChannelArgs {
        channel_id: null | string;
        force?: boolean;
        navigate?: boolean;
        timeout?: number;
    }
    Index

    Properties

    channel_id: null | string

    Channel id to join (or null to leave)

    force?: boolean

    Forces a user to join a voice channel

    navigate?: boolean

    After joining the voice channel, navigate to it in the client

    timeout?: number

    Asynchronously join channel with time to wait before timing out