update
This commit is contained in:
parent
d2ec1f8a3d
commit
e97ea8a71e
2
bot.go
2
bot.go
@ -106,7 +106,7 @@ func botQuery(q *tb.Query) {
|
|||||||
func botText(m *tb.Message) {
|
func botText(m *tb.Message) {
|
||||||
PrintText(m)
|
PrintText(m)
|
||||||
|
|
||||||
if m.IsForwarded() && int64(m.OriginalSender.ID) == chtwrsbotID64 {
|
if int64(m.OriginalSender.ID) == chtwrsbotID64 && m.IsForwarded() {
|
||||||
cwm := ChatWarsMessage{
|
cwm := ChatWarsMessage{
|
||||||
TGUserID64: int64(m.Sender.ID),
|
TGUserID64: int64(m.Sender.ID),
|
||||||
TGSenderUserID64: chtwrsbotID64,
|
TGSenderUserID64: chtwrsbotID64,
|
||||||
|
Loading…
Reference in New Issue
Block a user