Build chat bots with blocks

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

In Discord → Moderation

Jump to block

Kick a user from a server. They can rejoin if they have another invite.

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


Parameter name Parameter type Required? Description
user user The user to kick.
guild guild The server to kick the user from.
reason String A reason for the kick. This shows up in Audit Logs.


void - This is a statement with no outputs