Piecewise

Build chat bots with blocks

(operation) user (user) in server (guild)

In Discord → Voice

Jump to block

Server-wide (un)mute or (un)deafen a user.

Requires the following blocks to be present in the project: discord login

Parameters

Parameter name Parameter type Required? Description
operation any The operation to perform on this user.
user user The user to mute or unmute.
guild guild The server to mute the user in.

Output

void - This is a statement with no outputs