This commit is contained in:
fkndean 2016-11-06 17:30:47 -05:00
parent ac06c9b48b
commit 56eb10cf81

View File

@ -524,7 +524,6 @@ $@"🌍 **Weather for** 【{obj["target"]}】
var res = await http.GetStringAsync($"https://api.minetools.eu/query/{Uri.EscapeUriString(ip)}/{Uri.EscapeUriString(port)}").ConfigureAwait(false);
var items = JObject.Parse(res);
var sb = new StringBuilder();
int i = 0;
sb.AppendLine($"`Server:` {arg.ToString()} 〘Status: {items["status"]}〙");
sb.AppendLine($"`Player List (First 5):`");
foreach (var item in items["Playerlist"].Take(5))