docsFunctionsModerationZban

Zban

Bans a user from the guild with an optional reason and optional number of days of messages to delete.

Syntax

Zban{userID;reason?;deleteMessageDays?}

Arguments

NameTypeRequiredDefault
userIDsnowflakeYes-
reasonstringNo-
deleteMessageDaysintegerNo0

Example

Zban{123456789012345678;Spamming;1}