Skip to reference

Beta reference. Prepared from development builds for this version. This reference does not describe the current stable release.

A verified stable reference is not available yet. Choose a prepared beta version above.

Variables · supported

{username}

Normalized or provider-supplied event username, not an arbitrary command argument.

variable.trigger.chat_contains.username · 2.8.0

Browse all entries

Requirements and availability

Use the matching SheevChat version.

Picker contexts: automation.

Behavior

Nonempty pattern required. Equals compares trimmed text case-insensitively. Contains treats ordinary text literally; /pattern/flags uses JavaScript regex, invalid regex never matches. The authority field is displayed but match() does not enforce it; do not rely on this filter as an access-control gate.

Contract details

Syntax
{username}
Canonical Key
username
Aliases
[]
Producer
trigger.chat_contains
Lifetime
Current action sequence.
Resolution
Produced by event extraction. Missing provider values use the extractor fallback.
Empty Event Fallback
Not declared

Examples

Only use with this trigger and a field that supports variables.

{username}

Related entries

Source and verification

Source-reviewed for 2.8.0. Connected-service validation remains subject to release UAT.

  • src/features/automations.js — TRIGGER_REGISTRY.chat_contains.extract

Source revision: 472fb34b484eeef0b663d28cacb628a7b9f14ff1

Downloads and AI prompt
Download JSONDownload Markdown