tisboyo / Twitch_Bot

4 stars 2 forks source link

Announce is announcing multiple messages after changing times #11

Closed baldengineer closed 3 years ago

baldengineer commented 3 years ago

Seems like changing announce time causes bot to say more than 1 announcement at a time.

7:53 BaldEngineer
: !announce_time 300
7:53 AddOhms
: 🤖 New announce time is 300 seconds
7:53 BaldEngineer
: !announce_time 600
7:53 AddOhms
: 🤖 New announce time is 600 seconds
7:53 BaldEngineer
: !announce_time 30
7:53 AddOhms
: 🤖 New announce time is 30 seconds
7:54 AddOhms
: 🤖 Subscribers and patreons are invited to an "Office Hours" event on the Discord. https://baldengineer.com/discord. (I'm hanging out in the re-run chat as well.)
7:54AddOhms
: 🤖 This stream is a re-run. It has been edited since the original broadcast. (But Chat is live!)
tisboyo commented 3 years ago

First guess is the loop isn't being stopped properly and restarted as intended. Will research.

tisboyo commented 3 years ago

I can't seem to make this happen, the loop is stopping correctly when the timer is changed. If it does it again after we move to Docker, I'll open this back up.

baldengineer commented 3 years ago

I saw it happen again on Oct-18. I'm not sure how to reproduce it yet.