[Server] Don't show port if it equals 30000
This commit is contained in:
parent
ee46c9541c
commit
ff3caea579
@ -153,7 +153,9 @@ def server(phenny, input):
|
||||
return phenny.reply("No results")
|
||||
|
||||
name = server_list[choice]["name"]
|
||||
address = server_list[choice]["address"] + ":" + server_list[choice]["port"]
|
||||
address = server_list[choice]["address"]
|
||||
if server_list[choice]["port"] != "30000":
|
||||
address += ":" + server_list[choice]["port"]
|
||||
clients = server_list[choice]["clients"]
|
||||
try:
|
||||
version = server_list[choice]["version"] + " " + server_list[choice]["gameid"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user