update
This commit is contained in:
parent
a050893720
commit
38a1d8a898
2
bot.go
2
bot.go
@ -159,7 +159,7 @@ func botPlayers(m *tb.Message) {
|
|||||||
}
|
}
|
||||||
offline := ""
|
offline := ""
|
||||||
for _, cc := range cfg.Clients {
|
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"
|
offline = offline + fmt.Sprintf(" - @%s (%s) : %s", cc.Username, cc.TimeLeft, srv.Status.Companies[cc.CompanyID].Name) + "\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 = "a8844b4"
|
var githash = "a050893"
|
||||||
var buildstamp = "2021-11-08_14:31:15"
|
var buildstamp = "2021-11-08_14:48:10"
|
||||||
var commits = "172"
|
var commits = "173"
|
||||||
var version = "a8844b4-b172 - 2021-11-08_14:31:15"
|
var version = "a050893-b173 - 2021-11-08_14:48:10"
|
||||||
|
Loading…
Reference in New Issue
Block a user