Why is the YouTube bot slower than the other platforms?

If you are using Botisimo on YouTube and other platforms at the same time, you have probably noticed that the YouTube bot is a little slower to respond than the other platforms sometimes. The reason for that is the YouTube API quota limit. You can read more about it here https://developers.google.com/youtube/v3/getting-started#quota

Botisimo is only allowed to fetch new chat messages from the YouTube API a limited number of times per day. In order to conform to these limits and avoid losing access to the API, Botisimo fetches new chat messages based on the connected channel's chat activity. This means the more often viewers are sending messages in your chat, the faster Botisimo will respond. Botisimo will respond as quickly as 1-3 seconds in an active chat, but also it can take as long as 2 minutes to initially detect chat activity if the chat has been dead for long period of time. Once it has detected new chat activity the response time starts back at 1-3 seconds.

We hope that YouTube will implement an event based chat system using something like IRC or WebSockets. That is what platforms like Twitch, Mixer, and Discord use. This type of technology would allow YouTube to notify us of new chats when they happen instead of us having to ask over and over even if there are no new chats. For now, we have to work with the limitations of fetching chats from the YouTube API.

This article was helpful for 2 people. Is this article helpful for you?