docsFunctionsModerationZnewAccountDetect

ZnewAccountDetect

Returns true if the account age of the specified user is less than the minimum age in days, calculated from their Discord snowflake ID. Best used inside an onMemberJoin event.

Syntax

ZnewAccountDetect{userID;minAgeDays?}

Arguments

NameTypeRequiredDefault
userIDsnowflakeYes-
minAgeDaysnumberNo7

Example

ZnewAccountDetect{ZuserID;7}