Piecewise

Build chat bots with blocks

set power level of user (user) in room (room) to (power_level)

In Matrix → Moderation

Jump to block

Set the power level of a user in a particular Matrix room.

Parameters

Parameter name Parameter type Required? Description
user user The user to set the power level of.
room room The room to set the user’s power level in.
power_level Number The power level to set the user to.

Output

void - This is a statement with no outputs