Skip to content
Moderation setVoiceDeaf

$setVoiceDeaf — Deafens a member from voice channel.

Deafens a member from voice channel.

Syntax

$setVoiceDeaf[guildID;userID;(reason)]

Parameters

  • guildID (id, required) — The guild to pull member from
  • userID (id, required) — The user to deafen
  • reason (text, optional) — The reason to deafen this user

Return Value

  • Boolean.

Usage

$setVoiceDeaf[guildID;userID;(reason)] → result

Example

$sendMessage[$setVoiceDeaf[10;20]]

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.