test
This commit is contained in:
parent
29fe2a1ff8
commit
b87ebc9f9f
2
bot.go
2
bot.go
@ -172,6 +172,8 @@ func botGetClients(m *tb.Message) {
|
|||||||
if v2, ok2 := clientsCW.Load(ka.UserID64); ok2 {
|
if v2, ok2 := clientsCW.Load(ka.UserID64); ok2 {
|
||||||
clt := v2.(*ChatWarsClient)
|
clt := v2.(*ChatWarsClient)
|
||||||
ret = fmt.Sprintf("%s%s | UserID : %d | TelegramID : %d\n", ret, ka.Nickname, clt.UserID64, ka.UserID64)
|
ret = fmt.Sprintf("%s%s | UserID : %d | TelegramID : %d\n", ret, ka.Nickname, clt.UserID64, ka.UserID64)
|
||||||
|
} else {
|
||||||
|
ret = fmt.Sprintf("%s%s | UserID : %d | TelegramID : %d\n", ret, ka.Nickname, 0, ka.UserID64)
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user