Utility bot for rhythm game D4DJ. (Note that some dependencies are not public)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
miyu-bot/update_assets.py

20 lines
495 B

4 years ago
import asyncio
import logging
import logging.config
from d4dj_utils.manager.asset_manager import AssetManager
from d4dj_utils.manager.revision_manager import RevisionManager
async def main():
logging.basicConfig(level=logging.INFO)
revision_manager = RevisionManager('assets')
await revision_manager.repair_downloads()
await revision_manager.update_assets()
manager = AssetManager('assets')
manager.render_charts()
if __name__ == '__main__':
asyncio.run(main())