Skip to content
Moderation setVoiceBitrate

$setVoiceBitrate — Sets the bitrate quality of a voice channel, returns bool.

Sets the bitrate quality of a voice channel, returns bool.

Syntax

$setVoiceBitrate[channelID;bitrate;(reason)]

Parameters

  • channelID (id, required) — The channel to edit bitrate
  • bitrate (number, required) — The new bitrate
  • reason (text, optional) — The reason to change the bitrate

Return Value

  • Boolean.

Usage

$setVoiceBitrate[channelID;bitrate;(reason)] → result

Example

$sendMessage[$setVoiceBitrate[32;64000]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.