diff --git a/minya.py b/minya.py index 7d86744..dde497b 100644 --- a/minya.py +++ b/minya.py @@ -16,7 +16,6 @@ from aiohttp import ClientWebSocketResponse from mipac.models.notification import NotificationNote from mipa.ext.commands.bot import Bot - def load_modules(): module_dir = "modules" modules = [] diff --git a/modules/CherryCheck.py b/modules/CherryCheck.py index c75f0c5..70f8669 100644 --- a/modules/CherryCheck.py +++ b/modules/CherryCheck.py @@ -3,7 +3,7 @@ from mipa.ext import tasks import aiohttp # CherryChk V1 by Rera*C -# Check's CherryPick's Docker image version and notify if there's a new version. (15 minutes interval) +# Check's CherryPick's Docker image version and notify if there's a new version. (10 minutes interval) # Version is checked with tag name, 'latest' and 'develop' tag is ignored. @@ -27,7 +27,7 @@ class CherryChk(ModuleInterface): "get_module_db" )(self.name, "last_checked_time") - @tasks.loop(seconds=(60.0 * 15)) + @tasks.loop(seconds=(60.0 * 10)) async def update_checker(self): try: # get latest version from dockerhub