Member Junction
    Preparing search index...

    The arguments the native addon's joinVoiceChannel() accepts. Mirrors DiscordJoinArgs plus audio opts.

    interface NativeVoiceJoinArgs {
        botToken?: string;
        channels?: number;
        displayName: string;
        guildId: string;
        sampleRate?: number;
        voiceChannelId: string;
    }
    Index

    Properties

    botToken?: string

    The resolved bot token authorizing the gateway connection (resolved upstream; never inline).

    channels?: number

    Raw-audio channel count, when the addon needs it told.

    displayName: string

    The bot's display name / nickname in the member list.

    guildId: string

    The Discord guild (server) id that owns the voice channel.

    sampleRate?: number

    Raw-audio sample rate the bot sends/receives (Hz), when the addon needs it told.

    voiceChannelId: string

    The Discord voice-channel id to join.