Piecewise

Build chat bots with blocks

set slow mode on channel (channel) to time (time) with reason (reason)

In Discord → Channels

Jump to block

Set the slow mode time limit on a channel.

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

Parameters

Parameter name Parameter type Required? Description
channel channel The channel to set slow mode on.
time time The amount of time users without the Manage Messages permission must wait before sending another message. Setting this to 0 will disable slow mode.
reason String The reason for setting the slow mode.

Output

void - This is a statement with no outputs