maikdevries/Lunar

Too many requests are made to YouTube API

Closed this issue · 0 comments

Describe the bug
There is a daily quota of 10.000 units when interacting with the YouTube API, running out of quota means requests will be denied. As of now, the bot runs out of quota before the end of the day, which isn't preferred.

Steps to reproduce

  1. Run the bot with current code

Expected behaviour
The code contains a bug where more requests are sent than should be, this bug should be found and corrected.

Screenshots
image

Additional context
This might also be the case for Twitch, which does not have daily quotas but rather rate limiting, which is harder to notice.