💩👌 make lint happy

This commit is contained in:
fumiama
2021-08-06 17:44:48 +08:00
parent e477e0b452
commit ce406d8f55
10 changed files with 66 additions and 57 deletions

View File

@@ -42,7 +42,7 @@ func init() {
// 支持多个服务器
switch ctx.State["regex_matched"].([]string)[1] {
case "ftbi": // 这里对应触发指令里的服务器名称
ftbijson := infoapi("115.28.186.22:25710") //这里填对应mc服务器的登录地址
ftbijson := infoapi("115.28.186.22:25710") // 这里填对应mc服务器的登录地址
var str = ftbijson.Players.List
cs := strings.Join(str, "\n")
ctx.SendChain(message.Text(
@@ -51,7 +51,7 @@ func init() {
"以下为玩家名字: ", "\n", cs,
))
case "ges": // 这里对应触发指令里的服务器名称
gesjson := infoapi("115.28.186.22:25701") //这里填对应mc服务器的登录地址
gesjson := infoapi("115.28.186.22:25701") // 这里填对应mc服务器的登录地址
var str = gesjson.Players.List
cs := strings.Join(str, "\n")
ctx.SendChain(message.Text(