Skip to content

Commit

Permalink
Merge pull request qwertyquerty#10 from Carbonhell/hippie
Browse files Browse the repository at this point in the history
Enriches Hippie presence
  • Loading branch information
qwertyquerty authored Jul 24, 2018
2 parents 12fbadf + cdd0cbf commit 7518387
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
Expand Up @@ -5,7 +5,7 @@
"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
"Hippie Station": ["Hippie Station", "hippiestation"],
"Hippie Station": ["Hippie Station", "hippiestation", "62.210.11.24", 1337, "fetch"],
"/tg/Station Bagil": ["Station Bagil", "tgstation", "bagil.aws.tgstation13.org", 2337, "fetch"],
"/tg/Station Sybil": ["Station Sybil", "tgstation", "sybil.aws.tgstation13.org", 1337, "fetch"],
"/tg/Station Terry": ["Station Terry", "tgstation", "terry.tgstation13.org", 3337, "fetch"],
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", "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"]:
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 ["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"]:
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 7518387

Please sign in to comment.