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
| Name | Type | Required | Default |
|---|---|---|---|
| threshold | number | No | 5 |
Example
ZmentionSpamDetect{5}