Skip to content

Commit

Permalink
Merge pull request qwertyquerty#11 from ThatLing/master
Browse files Browse the repository at this point in the history
Adds Yogstation support
  • Loading branch information
qwertyquerty authored Jul 27, 2018
2 parents 7a514c6 + e5f9b5d commit e871f40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
servers = {
"Goonstation #2": ["Goonstation #2", "goonhub", "goon2.goonhub.com", 26200, "fetch"],
"Goonstation RP #1": ["Goonstation RP #1", "goonhub", "goon1.goonhub.com", 26100, "fetch"],
"Yogstation 13 [99% LAGFREE!]": ["Yogstation 13", "yogstation"],
"Yogstation 13": ["Yogstation 13", "yogstation", "game.yogstation.net", 4133, "fetch"],
"BeeStation 13": ["BeeStation", "beestation", "198.58.107.171", 3333, "fetch"],
"ss13": ["Unknown Server", "ss13"],
"Oracle Station | Medium RP": ["Oracle Station", "oraclestation"], #"byond.oraclestation.com", 5000
Expand Down
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ def get_server():
if server[0] in ["Baystation 12"]:
details = status["map"]+" | "+str(status["players"])+" players"

elif server[0] in ["Goonstation #2","Goonstation RP #1", "Hippie Station", "BeeStation", "FTL13", "Station Bagil", "Station Terry", "Station Sybil", "Citadel Station"]:
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"]:
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 Down

0 comments on commit e871f40

Please sign in to comment.