Skip to content
Moderation serverDeafen

$serverDeafen

Server-deafens or undeafens a member in voice. This function is a Bot Creator extension: it does not exist in the official BDFD wiki. It runs the same Discord logic as the matching block.

Syntax

$serverDeafen[userID;deaf]

Parameters

Parameter Description
userID Required. The member’s ID (digits only).
deaf true (default) to deafen, false to undeafen.

Return Value

  • Type: String
  • Always empty.

Behavior

  • The bot needs Deafen Members in the guild.

Examples

$serverDeafen[$mentioned[1];false]

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.