Build chat bots with blocks

user (user) is banned from server (guild)

In Discord → Moderation; Discord → Users; Discord → Servers

Jump to block

Determine if a user is banned from a server.

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 banned from the server.