ZlinkSpamDetect

Returns true if the user has sent more messages containing URLs than the allowed limit within the time window. Best used inside an onMessage event.

Syntax

ZlinkSpamDetect{userID;maxLinks?;windowSeconds?}

Arguments

NameTypeRequiredDefault
userIDsnowflakeYes-
maxLinksnumberNo3
windowSecondsnumberNo60

Example

ZlinkSpamDetect{ZuserID;3;60}