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] roshan status incorrect at the start of game #96

Closed cannawen closed 1 year ago

cannawen commented 1 year ago

Expect bot to respond "roshan is alive top" but actual response is default message

cannawen commented 1 year ago

For now work around to have "Roshan is alive" as default message work around not needed, can just fix it properly

cannawen commented 1 year ago

daytime state is set before inGame state so the rule was thinking we were not in-game so it was not triggering the "roshan is alive top/bottom" rule

cannawen commented 1 year ago

This bug is really a symptom of a bigger problem in the engine where the order in which state is set matters.

cannawen commented 1 year ago

Created issue #98 to track