This commit is contained in:
shoopea 2021-11-08 22:50:00 +08:00
parent a050893720
commit 38a1d8a898
2 changed files with 5 additions and 5 deletions

2
bot.go
View File

@ -159,7 +159,7 @@ func botPlayers(m *tb.Message) {
}
offline := ""
for _, cc := range cfg.Clients {
if !cc.Online {
if _, ok := srv.Status.Companies[cc.CompanyID]; ok && !cc.Online {
offline = offline + fmt.Sprintf(" - @%s (%s) : %s", cc.Username, cc.TimeLeft, srv.Status.Companies[cc.CompanyID].Name) + "\r\n"
}
}

View File

@ -1,6 +1,6 @@
// Code generated by version.sh (@generated) DO NOT EDIT.
package main
var githash = "a8844b4"
var buildstamp = "2021-11-08_14:31:15"
var commits = "172"
var version = "a8844b4-b172 - 2021-11-08_14:31:15"
var githash = "a050893"
var buildstamp = "2021-11-08_14:48:10"
var commits = "173"
var version = "a050893-b173 - 2021-11-08_14:48:10"