Build chat bots with blocks

unban user (user) from server (guild) with reason (reason)

In Discord → Moderation

Jump to block

Unban a user 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 unban.
guild guild The server to unban the user from.
reason String The reason for unbanning this user. Visible in Audit Logs.


void - This is a statement with no outputs