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

Refactor: hidden logic in runes.js code #6

Closed cannawen closed 1 year ago

cannawen commented 1 year ago

Related story #1

cannawen commented 1 year ago

I think the code has been sufficiently factored to close this story. Game rune logic is completely separated from discord/gsi logic, with beautiful tests

And answer to how to deal with eslint not liking magic numbers? Disabling the eslint rule for the block xd