1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

Update leagueoflegends ranks every 2 hours

This commit is contained in:
Steffo 2020-04-26 18:12:11 +02:00
parent 9066def9a6
commit fc268d89e9

View file

@ -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