mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Osu!
This commit is contained in:
parent
ede3d10c2c
commit
1a44f1d869
1 changed files with 8 additions and 8 deletions
16
main.py
16
main.py
|
@ -327,7 +327,7 @@ async def osu_pp(timeout):
|
|||
print("[Osu!] Check successful.")
|
||||
await asyncio.sleep(timeout)
|
||||
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
|
||||
loop.create_task(telegram.send_message(msg, -2141322))
|
||||
|
||||
#loop.create_task(overwatch_status_change(600))
|
||||
#print("[Overwatch] Added level up check to the queue.")
|
||||
loop.create_task(overwatch_status_change(900))
|
||||
print("[Overwatch] Added level up check to the queue.")
|
||||
|
||||
#loop.create_task(league_rank_change(900))
|
||||
#print("[League] Added rank change check to the queue.")
|
||||
loop.create_task(league_rank_change(900))
|
||||
print("[League] Added rank change check to the queue.")
|
||||
|
||||
#loop.create_task(league_level_up(900))
|
||||
#print("[League] Added level change check to the queue.")
|
||||
loop.create_task(league_level_up(900))
|
||||
print("[League] Added level change check to the queue.")
|
||||
|
||||
#loop.create_task(brawlhalla_update_mmr(7200))
|
||||
#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))
|
||||
#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.")
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue