Skip to content
Moderation setVoiceRegion

$setVoiceRegion — Sets the region of a voice channel, returns bool.

Sets the region of a voice channel, returns bool.

Syntax

$setVoiceRegion[channelID;(region);(reason)]

Parameters

  • channelID (id, required) — The channel to set region
  • region (text, optional) — The region to set, leave empty to remove a fixed region
  • reason (text, optional) — The reason to set the voice region

Return Value

  • Boolean.

Usage

$setVoiceRegion[channelID;(region);(reason)] → result

Example

$sendMessage[$setVoiceRegion[32;eu-west]]

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.