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

Update dota ranks every 2 hours

This commit is contained in:
Steffo 2020-04-26 18:08:22 +02:00
parent 6dc9e3aa30
commit d6d7845dbc

View file

@ -24,7 +24,7 @@ class DotaCommand(Command):
def __init__(self, interface: CommandInterface):
super().__init__(interface)
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