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

added dota last match support

This commit is contained in:
Steffo 2016-11-22 17:35:20 +01:00
parent ac62ac1897
commit a949a1a3a6

20
main.py
View file

@ -287,20 +287,20 @@ 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(600))
#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.")
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.")
try: try:
loop.run_until_complete(d_client.start(token)) loop.run_until_complete(d_client.start(token))