comestic fix
This commit is contained in:
4
bot.go
4
bot.go
@@ -207,7 +207,7 @@ func botPlayers(m *tb.Message) {
|
||||
if co, ok := srv.Status.Companies[cc.CompanyID]; ok {
|
||||
online = online + fmt.Sprintf(" - %s (%s) : %s", cc.Username, cc.TimeLeft, co.Name) + "\r\n"
|
||||
} 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 {
|
||||
offline = offline + fmt.Sprintf(" - %s (%s) : %s", cc.Username, cc.TimeLeft, co.Name) + "\r\n"
|
||||
} 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"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user