Skip to content

Commit

Permalink
new build, yog sPeCiAl SuPpOrT
Browse files Browse the repository at this point in the history
  • Loading branch information
qwertyquerty committed Jul 27, 2018
1 parent e871f40 commit 3200f58
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Binary file modified dist/ss13rp.exe
Binary file not shown.
5 changes: 1 addition & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ def join(ev):
else:

while True:

try:
rp = pypresence.Client(client_id)
rp.start()
Expand Down Expand Up @@ -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"]))

Expand All @@ -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])
Expand Down

0 comments on commit 3200f58

Please sign in to comment.