Piecewise

Build chat bots with blocks

user (user) is (status) in server (guild)

In Discord → Users

Jump to block

Check if a user has a particular status in a server.

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

Parameters

Parameter name Parameter type Required? Description
user user The user to get the status of.
status any The status to check for.
guild guild The server to check the user’s status in.

Output

Boolean - Whether the specified user is online, idle, do not disturb, or offline in the provided server.