From fc268d89e9e90bab96e4acc9e055225fdbebc3c8 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 26 Apr 2020 18:12:11 +0200 Subject: [PATCH] Update leagueoflegends ranks every 2 hours --- royalpack/commands/leagueoflegends.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/royalpack/commands/leagueoflegends.py b/royalpack/commands/leagueoflegends.py index a54c7ee3..2c583956 100644 --- a/royalpack/commands/leagueoflegends.py +++ b/royalpack/commands/leagueoflegends.py @@ -25,7 +25,7 @@ class LeagueoflegendsCommand(Command): super().__init__(interface) self._riotwatcher = riotwatcher.RiotWatcher(api_key=self.config["Lol"]["token"]) if self.interface.name == "telegram": - self.loop.create_task(self._updater(900)) + self.loop.create_task(self._updater(7200)) async def _send(self, message): client = self.serf.client