comestic fix
This commit is contained in:
parent
d09710eb3d
commit
9614fccb68
4
bot.go
4
bot.go
@ -207,7 +207,7 @@ func botPlayers(m *tb.Message) {
|
|||||||
if co, ok := srv.Status.Companies[cc.CompanyID]; ok {
|
if co, ok := srv.Status.Companies[cc.CompanyID]; ok {
|
||||||
online = online + fmt.Sprintf(" - %s (%s) : %s", cc.Username, cc.TimeLeft, co.Name) + "\r\n"
|
online = online + fmt.Sprintf(" - %s (%s) : %s", cc.Username, cc.TimeLeft, co.Name) + "\r\n"
|
||||||
} else {
|
} else {
|
||||||
online = online + fmt.Sprintf(" - %s (none) : %s", cc.Username, cc.TimeLeft) + "\r\n"
|
online = online + fmt.Sprintf(" - %s (%s) : none", cc.Username, cc.TimeLeft) + "\r\n"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -216,7 +216,7 @@ func botPlayers(m *tb.Message) {
|
|||||||
if co, ok := srv.Status.Companies[cc.CompanyID]; ok && !cc.Online {
|
if co, ok := srv.Status.Companies[cc.CompanyID]; ok && !cc.Online {
|
||||||
offline = offline + fmt.Sprintf(" - %s (%s) : %s", cc.Username, cc.TimeLeft, co.Name) + "\r\n"
|
offline = offline + fmt.Sprintf(" - %s (%s) : %s", cc.Username, cc.TimeLeft, co.Name) + "\r\n"
|
||||||
} else {
|
} else {
|
||||||
offline = offline + fmt.Sprintf(" - %s (none) : %s", cc.Username, cc.TimeLeft) + "\r\n"
|
offline = offline + fmt.Sprintf(" - %s (%s) : none", cc.Username, cc.TimeLeft) + "\r\n"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// Code generated by version.sh (@generated) DO NOT EDIT.
|
// Code generated by version.sh (@generated) DO NOT EDIT.
|
||||||
package main
|
package main
|
||||||
var githash = "07c2ea7"
|
var githash = "d09710e"
|
||||||
var buildstamp = "2021-11-26_00:28:51"
|
var buildstamp = "2021-11-26_00:35:33"
|
||||||
var commits = "206"
|
var commits = "207"
|
||||||
var version = "07c2ea7-b206 - 2021-11-26_00:28:51"
|
var version = "d09710e-b207 - 2021-11-26_00:35:33"
|
||||||
|
Loading…
Reference in New Issue
Block a user