This commit is contained in:
shoopea 2019-07-09 15:49:02 +08:00
parent 4c1f81db80
commit 85d36448bd

2
bot.go
View File

@ -166,7 +166,7 @@ func botGetClients(m *tb.Message) {
return
}
if _, ok := clientsKeepAlive.Load(m.Chat.ID); ok {
var string ret
var ret string
clientsCW.Range(func(k, v interface{}) bool {
c := v.(*ChatWarsClient)
ret := fmt.Sprintf("%s%s | UserID : %d | TelegramID : %d\n", ret, c.UserID64, c.TelegramID64)