Ir al contenido

Twitch.UserTimedOut

Un moderador silencia a alguien un rato.

  • Plataforma: twitch
  • Forma: userTimedOut
  • Evento de origen: Twitch.UserTimedOut
Widget.on("Twitch.UserTimedOut", (event) => {
// event.user, event.platform…
});
  • user (string): Nombre visible; «Anónimo» en un regalo anónimo.
  • userId (string): Id del usuario en su plataforma.
  • userLogin (string): Login, en minúsculas.
  • reason (string): Motivo, si lo dio.
  • duration (number): Segundos de silencio (0 en un baneo).

Además trae platform (la plataforma de origen) y raw (el payload original).

El payload de ejemplo que llega al simulador del Estudio:

{
"moderator": {
"id": "100000002",
"login": "lunagamer",
"name": "LunaGamer",
"type": "twitch"
},
"broadcaster": {
"id": "100000000",
"login": "canaldeprueba",
"name": "CanalDePrueba",
"type": "twitch"
},
"isInSharedChat": false,
"isSharedChatHost": false,
"isFromSharedChatGuest": false,
"createdAt": "2026-09-26T05:50:14.0325518Z",
"isTest": false,
"targetUser": {
"id": "100000008",
"login": "spambot3000",
"name": "SpamBot3000",
"type": "twitch"
},
"reason": "Spam",
"duration": 600
}