Check For Profanity & Hate Speech

import org.UniversalDevelopment.universalChat.UniversalPluginFramework.PluginKit.UniversalApi.checkProfanityV4

Checking For Profanity & Hate Speech (V4)

UniversalApi.checkProfanityV4(originalMessage)
Message: String


Returns String "STOP" or "SEND"

"STOP" - This message contains profanity or hate speech
"SEND" - No profanity or hate speech detected

Example

checkProfanityV4("shit")

In this example, the string "You suck" is evaluated using regex patterns.

Last updated