bsquidwrd / Live-Bot

THIS IS THE OLD VERSION OF THE BOT
https://github.com/bsquidwrd/LiveBot
MIT License
0 stars 0 forks source link

Have multiple Twitch app Keys #17

Closed bsquidwrd closed 6 years ago

bsquidwrd commented 6 years ago

Need new Twitch API App Keys for the following:

Reason: This is due to users receiving errors when adding streams, plus the bot erroring out when checking for live streams.

Error Token: dqgv95eNyrRN7f4m43EBJP9L6800wXfRZGPJzJS9HRuYFjDJs5

Error running add command for 131224383640436736 bsquidwrd
Filename: /root/livebot/cogs/livebot.py
Line: 294

Result status was not okay: 
{"error":"Too Many Requests","status":429,"message":"My ultimate is charging."}
bsquidwrd commented 6 years ago

The environment variables storing this information will as follows:

Process Name Environment Variable Name Twitch Dev Application Name
monitor add command LIVE_BOT_TWITCH_SEARCH Live Bot Search
update_users.py LIVE_BOT_TWITCH_UPDATE Live Bot Update
Checking live status LIVE_BOT_TWITCH_LIVE Live Bot Live
Website login via django app allauth Live Bot Website
bsquidwrd commented 6 years ago

This is not resolved as per log QCC7MYdAueq4J0YqnOGMQXF4qhWvgZA8YlEBXYMci9w0bpjIDO

bsquidwrd commented 6 years ago

Look at the following link, which should be using LIVE_BOT_TWITCH_UPDATE Client ID instead.

https://github.com/bsquidwrd/Live-Bot/blob/38e66a10bb2eab4a5e86ce9899eaa72c3d4a690d/cogs/tasks.py#L62-L64

https://github.com/bsquidwrd/Live-Bot/blob/38e66a10bb2eab4a5e86ce9899eaa72c3d4a690d/cogs/tasks.py#L111

bsquidwrd commented 6 years ago

This issue is closed due to introducing Bearer Tokens a while back and getting a rate limit increase.