Piecewise

Build chat bots with blocks

user (user) is bot owner

In Discord → Users

Jump to block

Determines whether a user is the bot’s owner.

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

Parameters

Parameter name Parameter type Required? Description
user user The user to check.

Output

Boolean - Whether the user is the bot’s owner