Chat message queue with configurable delay #3549
Replies: 3 comments 2 replies
-
Originally discussed all the way back in #645 - but the implementation for chromecast/tv streams was pretty megadank, but a very small and unnoticeable delay seems very reasonable. |
Beta Was this translation helpful? Give feedback.
-
This is how I imagine the options for this feature to look like: Twitch chat delay: Enable chat delay as broadcaster/mod: [ ] |
Beta Was this translation helpful? Give feedback.
-
I decided to do a little bit of research into this feature. In terms of fetching the chat delay setting, I found a couple of things:
So at the moment, it seems like there isn't any way to fetch and use the chat delay value automatically. We'd only be able to support users willingly delaying their chat (?) [1] GQL Request: {
"operationName": "MessageBuffer_Channel",
"variables": {
"channelLogin": "<channel login>"
},
"extensions": {
"persistedQuery": {
"version": 1,
"sha256Hash": "bfc959904f55b5003ae4674d4bea83ebdcd8867ad76e12f38957d433902d2fcc"
}
}
}
// Response
{
"data": {
"user": {
"id": "<channel id>",
"chatSettings": {
// 0, 2000, 4000, or 6000 ms based on moderation settings
"chatDelayMs": 6000,
"__typename": "ChatSettings"
},
"__typename": "User"
}
},
"extensions": {
"durationMilliseconds": 23,
"operationName": "MessageBuffer_Channel",
"requestID": "XXX"
}
} |
Beta Was this translation helpful? Give feedback.
-
Twitch's native moderation product has a feature to delay messages being rendered for viewers that are not moderators or the broadcaster. This is especially useful for large channels that receive a lot of hate as it allows bad messages to be filtered before being visible to the public. I would really like to see this feature ported to Chatterino so the automated moderation infrastructure I build to support streamers can act without the original bad messages being visible on their chat window during the live stream.
Although the native product only allows increments of one second, I would be looking for ~500ms granularity at a minimum if possible. This allows most automated actions to occur without introducing a noticeable delay to their chat.
Beta Was this translation helpful? Give feedback.
All reactions