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:
parent
9066def9a6
commit
fc268d89e9
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class LeagueoflegendsCommand(Command):
|
||||||
super().__init__(interface)
|
super().__init__(interface)
|
||||||
self._riotwatcher = riotwatcher.RiotWatcher(api_key=self.config["Lol"]["token"])
|
self._riotwatcher = riotwatcher.RiotWatcher(api_key=self.config["Lol"]["token"])
|
||||||
if self.interface.name == "telegram":
|
if self.interface.name == "telegram":
|
||||||
self.loop.create_task(self._updater(900))
|
self.loop.create_task(self._updater(7200))
|
||||||
|
|
||||||
async def _send(self, message):
|
async def _send(self, message):
|
||||||
client = self.serf.client
|
client = self.serf.client
|
||||||
|
|
Loading…
Reference in a new issue