Build chat bots with blocks

user (user) is in server (guild)

In Discord → Users; Discord → Servers

Jump to block

Determines whether a user is in a particular server. This may require the “membership” privileged intent.

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


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


Boolean - Whether the user is in a particular server