test
This commit is contained in:
parent
4c1f81db80
commit
85d36448bd
2
bot.go
2
bot.go
@ -166,7 +166,7 @@ func botGetClients(m *tb.Message) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
if _, ok := clientsKeepAlive.Load(m.Chat.ID); ok {
|
if _, ok := clientsKeepAlive.Load(m.Chat.ID); ok {
|
||||||
var string ret
|
var ret string
|
||||||
clientsCW.Range(func(k, v interface{}) bool {
|
clientsCW.Range(func(k, v interface{}) bool {
|
||||||
c := v.(*ChatWarsClient)
|
c := v.(*ChatWarsClient)
|
||||||
ret := fmt.Sprintf("%s%s | UserID : %d | TelegramID : %d\n", ret, c.UserID64, c.TelegramID64)
|
ret := fmt.Sprintf("%s%s | UserID : %d | TelegramID : %d\n", ret, c.UserID64, c.TelegramID64)
|
||||||
|
Loading…
Reference in New Issue
Block a user