This commit is contained in:
shoopea 2020-01-14 17:09:14 +08:00
parent d2ec1f8a3d
commit e97ea8a71e

2
bot.go
View File

@ -106,7 +106,7 @@ func botQuery(q *tb.Query) {
func botText(m *tb.Message) {
PrintText(m)
if m.IsForwarded() && int64(m.OriginalSender.ID) == chtwrsbotID64 {
if int64(m.OriginalSender.ID) == chtwrsbotID64 && m.IsForwarded() {
cwm := ChatWarsMessage{
TGUserID64: int64(m.Sender.ID),
TGSenderUserID64: chtwrsbotID64,