When · Triggers · supported
Default command executed
Runs after a selected default command succeeds. !playclip waits for actual playback start; queued/prepared clips do not fire it. Automation-originated commands do not retrigger.
trigger.default_command · 2.8.0
Requirements and availability
Connected supported event provider; enabled automation and matching filters.
Picker contexts: automation.
Incoming providers: twitch, youtube, kick, tiktok, x.
Behavior
Matches the selected canonical built-in command only after explicit success. Disabled, denied, cooldown, usage and failed calls do not fire. Automation/internal calls cannot retrigger. playclip fires once per invocation at actual Playback started, not queue/download completion; clip.duration is seconds reported by the first actual player, with downloaded duration as fallback. Result variables are invocation-scoped and command-specific; missing results are not invented.
Configure in the app
Open: Bot → Automations → + New → When
Steps
- Choose Trigger category: Default Commands.
- Choose Trigger event: Default command executed.
- Fill the Trigger filters below, set Cooldown (seconds), then open Where and choose a supported Platform.
- Open Do, add actions, then Create Automation or Save Changes.
Trigger filters
| Field | Input / options | Defaults / limits | Availability |
|---|---|---|---|
Default commandcommand | select
| Declared UI default: | Trigger filter |
Contract details
- Cooldown
- Automation cooldownSec defaults 0; keyed by automation ID and event platform; held in memory until restart.
- Delay
- No additional trigger delay.
Examples
Trigger selection and filter defaults; supply a real target/pattern when required.
{
"triggerType": "default_command",
"triggerPlatform": "all",
"triggerFilters": {
"command": "playclip"
}
}Related entries
- {user}
- {platform}
- {message}
- {command.name}
- {command.trigger}
- {command.arguments}
- {command.invocationId}
- {command.stage}
- {clip.duration}
- {clip.durationMs}
- {clip.provider}
- {result.value}
- {result.amount}
- {result.total}
- {result.title}
- {result.id}
- {result.duration}
- {result.count}
- {result.target}
- {result.winner}
- {result.won}
- {result.reset}
- {result.url}
- {result.category}
- {username}
- {userId}
- {input}
- {args}
- {command}
- Automation
Source and verification
Source-reviewed for 2.8.0. Connected-service validation remains subject to release UAT.
- src/features/automations.js — TRIGGER_REGISTRY.default_command
- src/features/automation-provider-capabilities.js — AUTOMATION_TRIGGER_PLATFORMS.default_command
Exact build metadata and source revision: version overview and downloads.