docsFunctionsModerationZmentionSpamDetect

ZmentionSpamDetect

Returns true if the number of mentions (@user, @role, @everyone, @here) in the current message meets or exceeds the threshold. Best used inside an onMessage event.

Syntax

ZmentionSpamDetect{threshold?}

Arguments

NameTypeRequiredDefault
thresholdnumberNo5

Example

ZmentionSpamDetect{5}