ToolHookEvent.content_matches()

Usage

Source

ToolHookEvent.content_matches(pattern)