Roadie

Viewer banned or timed out event

Automation · 4 min read ·

A viewer was banned or timed out, and which moderator did it. The reason stays in moderation history, never in a step.

Viewer banned or timed out (twitch.ban) — A viewer was banned or timed out, and which moderator did it. The reason stays in moderation history, never in a step.

Source: twitch. Selection: Events picker. Before it can fire: Moderation log switched on.

Start a flow

Select this event in Automation where its selection flow is available, then add any conditions and actions. A real occurrence matching the event starts the flow. The Test panel can supply representative sample fields, but Run test applies every action for real. Use only harmless actions while learning the trigger, and inspect its recent run before enabling effectful steps.

Trigger fields

These are the typed fields declared for this event. An optional value may be absent in a particular run; confirm a real event before relying on it.

  • {user} — Username; person; required; The viewer banned or timed out; sample: SalsaQueen (@salsaqueen).
  • {moderator} — Moderator; person; optional; The moderator who did it — a step can give them currency. Empty on one from before Roadie kept it; sample: NachoAverage (@nachoaverage).
  • {permanent} — A ban, not a timeout; flag; required; On for a ban, off for a timeout; sample: false.
  • {seconds} — Seconds; number; optional; How long a timeout lasts — empty for a ban; sample: 600.
  • {twitch.user_id} — Banned viewer id; text; required; Twitch’s id for the viewer banned or timed out; sample: 1002.
  • {twitch.user_login} — Banned viewer login; text; required; The login of the viewer banned or timed out, lower case; sample: salsaqueen.
  • {twitch.user_name} — Banned viewer display name; text; required; The display name of the viewer banned or timed out; sample: SalsaQueen.
  • {twitch.moderator_user_id} — Moderator id; text; optional; Twitch’s id for the moderator who did it; sample: 1001.
  • {twitch.moderator_user_login} — Moderator login; text; optional; The login of the moderator who did it, lower case; sample: nachoaverage.
  • {twitch.moderator_user_name} — Moderator display name; text; optional; The display name of the moderator who did it; sample: NachoAverage.
  • {twitch.is_permanent} — A ban, not a timeout; flag; required; On for a ban, off for a timeout; sample: false.
  • {twitch.ends_at} — Ends at; text; optional; When a timeout ends, as Twitch’s time. Empty for a ban.
  • {roadie.ban.seconds} — Seconds; number; optional; How long a timeout lasts — empty for a ban; sample: 600.
  • {twitch.banned_at} — Banned at; text; optional; When it happened, as Twitch’s time.

Fill-ins offered for this trigger

This is the editor’s event-specific fill-in list for this trigger. Person fields also expose their login, display name, Twitch ID and avatar address. Shared channel fill-ins are available separately.

  • {user} — Username.
  • {user.login} — Username — their login, for links.
  • {user.name} — Username — their display name.
  • {user.id} — Username — their Twitch id.
  • {user.avatar} — Username — their avatar picture, for a Discord card (picture address).
  • {moderator} — Moderator.
  • {moderator.login} — Moderator — their login, for links.
  • {moderator.name} — Moderator — their display name.
  • {moderator.id} — Moderator — their Twitch id.
  • {moderator.avatar} — Moderator — their avatar picture, for a Discord card (picture address).
  • {permanent} — A ban, not a timeout.
  • {seconds} — Seconds.
  • {twitch.user_id} — Banned viewer id.
  • {twitch.user_login} — Banned viewer login.
  • {twitch.user_name} — Banned viewer display name.
  • {twitch.moderator_user_id} — Moderator id.
  • {twitch.moderator_user_login} — Moderator login.
  • {twitch.moderator_user_name} — Moderator display name.
  • {twitch.is_permanent} — A ban, not a timeout.
  • {twitch.ends_at} — Ends at.
  • {roadie.ban.seconds} — Seconds.
  • {twitch.banned_at} — Banned at.

Check a run

Open the flow’s run log after a real event or a safe test. Check that the expected event fired and that its conditions matched. A connector or upstream service can prevent a real event from arriving even when a sample test succeeds.

Browse events · Use fill-ins