cannawen / dota-gsi-discord-bot

Use Dota 2's Game State Integration API to make helpful announcements in a discord voice channel
MIT License
5 stars 2 forks source link

[bug] when the bot restarts, the repeatEveryInterval rule gets messed up because the startTime is not what we expect it to be #79

Closed cannawen closed 1 year ago

cannawen commented 1 year ago

We knew this piece of code was fragile before, guess we need to fix it now that it's come up...

cannawen commented 1 year ago

Now the event will be called as soon as it can be after the given period of time, you don't need to hit the start time exactly for it to be called at the correct times later