diff --git a/dist/ss13rp.exe b/dist/ss13rp.exe index a5a268c..9cae0f4 100644 Binary files a/dist/ss13rp.exe and b/dist/ss13rp.exe differ diff --git a/main.py b/main.py index 7941f78..283d4e2 100644 --- a/main.py +++ b/main.py @@ -22,7 +22,6 @@ def join(ev): else: while True: - try: rp = pypresence.Client(client_id) rp.start() @@ -90,10 +89,8 @@ def get_server(): elif server[0] in ["Goonstation #2","Goonstation RP #1", "Hippie Station", "BeeStation", "FTL13", "Station Bagil", "Station Terry", "Station Sybil", "Citadel Station", "Yogstation 13"]: details = status["map_name"]+" | "+str(status["players"])+" players" - if server[0] in ["Goonstation #2","Goonstation RP #1"]: rp.set_activity(state=server[0],details=details,large_text=server[0],large_image=server[1], start=int(time.time())-int(status["elapsed"])) - elif server[0] in ["Hippie Station", "BeeStation", "FTL13", "Station Bagil", "Station Terry", "Station Sybil", "Citadel Station", "Yogstation 13"]: rp.set_activity(state=server[0],details=details,large_text=server[0],large_image=server[1], start=int(time.time())-int(status["round_duration"])) @@ -103,7 +100,7 @@ def get_server(): except Exception as E: - + print(E) rp.set_activity(state=server[0],large_text=server[0],large_image=server[1]) else: rp.set_activity(state=server[0],large_text=server[0],large_image=server[1])