bah 🐫
This commit is contained in:
parent
ac06c9b48b
commit
56eb10cf81
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user