Riot also hosts a CDN for Data Dragon files, it could be considered to add support to use those instead of local files or to overall refactor the code to use those instead.
Pros:
CDN is updated with each patch, so the new data can be used automatically (add a coroutine to check for new version at a specified interval)
Don't have to work with pathlib
Less disk space usage
Cons:
A host with low internet speeds will drastically slow down the bot
If commands used often enough may get rate limited/blocked by Riot (not sure if they limit access to CDN)
A config option could be useful, let bot owners decide based off of their preferences.
Riot also hosts a CDN for Data Dragon files, it could be considered to add support to use those instead of local files or to overall refactor the code to use those instead. Pros:
A config option could be useful, let bot owners decide based off of their preferences.