Feverqwe / twiMonBot

Telegram bot for monitoring twitch, youtube gaming, goodgame
https://goo.gl/Yr1rv2
63 stars 17 forks source link

Bot repeats the notification (error) #11

Closed Blastbeater closed 6 years ago

Blastbeater commented 6 years ago

Hello! Thank you very much for your bot. I use it for about a year at my group and it never had any errors or problems. But recently I found out en error. After started the broadcast at the channel from the list - we recieved a notification at the group at the start of broadcast. And after broadcast ended, bot keeps sending notifications about same broadcast to the group. It sent us this notification every hour. I tried to delete the channel from the list and add it agian. I tried to stop bot and start it again. I cleared the list and added my channels there again. And nothing helps. It passed 4 days and bot keeps sending same notification to the group every hour. Ho can у solve this error?

Feverqwe commented 6 years ago

Hello! What channel on twitch are you talking about? I'm trying to reproduce this problems.

Blastbeater commented 6 years ago

Here's the link for the video: https://gaming.youtube.com/watch?v=FN0nFIGm0sI

For example, I recieve that message today at 13:15 than at 13:55 (Moscow time)

ss 2018-07-23 at 02 10 41 ss 2018-07-23 at 02 10 46

Screenshot of previous notification bug (first time it happened on July 19th): ss 2018-07-23 at 02 14 45

Feverqwe commented 6 years ago

I see this problem. It is youtube api bug. Sometimes api response stream as live and bot send message to user. I think how to fix it. I wrote about it in youtube support.

Feverqwe commented 6 years ago

I add check for live for a videos, I think it help until bug not fixed.

Blastbeater commented 6 years ago

Thank you! I changed twiMonbot to ytWatchBot and I see that ytWatchBot is more suitable for our group. And it works fine. Anyway thank you for your job. I hope my bug report will be helpful for twiMonbot users in future and will make it a little bit better!

Have a good day! Cheers.