LukasMarckmiller / OverwatchDiscordBot

Websocket based discord bot in GO with Overwatch stats API integration
MIT License
2 stars 0 forks source link

Platform and Region to playerStatsPersistence #32

Closed LukasMarckmiller closed 5 years ago

LukasMarckmiller commented 5 years ago

Platform and Region should be bound to PlayerStatsPersistence instead of just bound to the guild config. If player was retrived with guild config pc and its changed globaly to psn then daily update trys to pull with changed global config. Update Player Stats should write config.platform and config.region to playerStatsPersistence.

LukasMarckmiller commented 5 years ago

And check in getPlayerStats if platform differ from each other. If so print a warning.