refactor: Update study module structure.

Prepare `study` module for session and timer systems.
Move regular sync to the studybadge loop.
This commit is contained in:
2021-10-26 17:33:44 +03:00
parent 0b7b84556d
commit 5ea7d06dae
12 changed files with 28 additions and 20 deletions

View File

@@ -68,9 +68,10 @@ async def preload_studying_members(client):
)
@module.launch_task
async def launch_lion_sync_loop(client):
asyncio.create_task(_lion_sync_loop())
# Removing the sync loop in favour of the studybadge sync.
# @module.launch_task
# async def launch_lion_sync_loop(client):
# asyncio.create_task(_lion_sync_loop())
@module.unload_task