Moderation
modifyVoiceChannel
$modifyVoiceChannel
Changes several settings of a voice channel in one call. Bot Creator function, not in the official BDFD wiki.
Syntax
$modifyVoiceChannel[channelID;(name);(userLimit);(bitrate);(region);(videoQuality);(reason)]
Parameters
| Parameter | Description |
|---|---|
channelID |
Required. The ID of the channel. |
name |
Optional. The name. |
userLimit |
Optional. 0 (no limit) to 99. |
bitrate |
Optional. Bits per second, 8000 at least. |
region |
Optional. A voice region ID, or auto. |
videoQuality |
Optional. auto or full. |
reason |
Optional. Reason recorded in the server audit log (512 characters at most). |
Return Value
truewhen something was changed.
Example
$modifyVoiceChannel[$channelID;Lounge;10;96000;;full]
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.