docsFunctionsModerationZemojiSpamDetect

ZemojiSpamDetect

Returns true if the number of emojis in the message meets or exceeds the threshold. Best used inside an onMessage event.

Syntax

ZemojiSpamDetect{message?;threshold?}

Arguments

NameTypeRequiredDefault
messagestringNocurrent message
thresholdnumberNo10

Example

ZemojiSpamDetect{Zmessage;10}