Variables · supported
{channel.uptime}
Current live duration
variable.global.channel.uptime · 2.8.0
Requirements and availability
Available when a live start time is known
Picker contexts: automation, timer, command, pad.
Variable providers: twitch, youtube, kick, tiktok.
Behavior
Current live duration
Contract details
- Key
- channel.uptime
- Aliases
[ "uptime" ]- Category
- Stream
- Description
- Current live duration
- Availability
- runtime
- Availability Note
- Available when a live start time is known
- Canonical Key
- channel.uptime
- Syntax
- {channel.uptime}
- Producer
- Global command variable engine, resolved on demand.
- Fallback
- Unavailable
- Fallback Note
- This fallback applies on null/error/timeout; a resolver may return its own 0, empty string or descriptive value instead.
- Lifetime
- Resolved for this template; data may be live, cached or persisted according to its provider.
Examples
A single variable expression; context and data prerequisites still apply.
{channel.uptime}Related entries
Source and verification
Source-reviewed for 2.8.0. Connected-service validation remains subject to release UAT.
- server.js — COMMAND_VARIABLE_DEFINITIONS.channel.uptime
- src/features/command-variables.js — createCommandVariableEngine
Source revision: 472fb34b484eeef0b663d28cacb628a7b9f14ff1