Piecewise

Build chat bots with blocks

owner of bot

In Discord → Users

Jump to block

The owner of the bot. If you’re looking to check if a user owns this bot, consider using user (user) is owner as it will also check Team ownership.

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

Output

user - The owner of the bot. If the owner of the bot is a Team, the owner of the Team.