1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 21:44:21 +00:00
This commit is contained in:
Steffo 2017-02-07 22:26:53 +01:00
parent ede3d10c2c
commit 1a44f1d869

16
main.py
View file

@ -327,7 +327,7 @@ async def osu_pp(timeout):
print("[Osu!] Check successful.") print("[Osu!] Check successful.")
await asyncio.sleep(timeout) await asyncio.sleep(timeout)
else: else:
await asyncio.sleep(1) await asyncio.sleep(5)
@ -353,14 +353,14 @@ async def send_event(eventmsg: str, player: str, **kwargs):
# Send the message # Send the message
loop.create_task(telegram.send_message(msg, -2141322)) loop.create_task(telegram.send_message(msg, -2141322))
#loop.create_task(overwatch_status_change(600)) loop.create_task(overwatch_status_change(900))
#print("[Overwatch] Added level up check to the queue.") print("[Overwatch] Added level up check to the queue.")
#loop.create_task(league_rank_change(900)) loop.create_task(league_rank_change(900))
#print("[League] Added rank change check to the queue.") print("[League] Added rank change check to the queue.")
#loop.create_task(league_level_up(900)) loop.create_task(league_level_up(900))
#print("[League] Added level change check to the queue.") print("[League] Added level change check to the queue.")
#loop.create_task(brawlhalla_update_mmr(7200)) #loop.create_task(brawlhalla_update_mmr(7200))
#print("[Brawlhalla] Added mmr change check to the queue.") #print("[Brawlhalla] Added mmr change check to the queue.")
@ -368,7 +368,7 @@ async def send_event(eventmsg: str, player: str, **kwargs):
#loop.create_task(opendota_last_match(600)) #loop.create_task(opendota_last_match(600))
#print("[OpenDota] Added last match check to the queue.") #print("[OpenDota] Added last match check to the queue.")
loop.create_task(osu_pp(600)) loop.create_task(osu_pp(1800))
print("[Osu!] Added pp change check to the queue.") print("[Osu!] Added pp change check to the queue.")
try: try: