change ambush forward

This commit is contained in:
shoopea 2019-10-25 12:39:25 +08:00
parent 524b9a3b5e
commit cb69e305b5
2 changed files with 2 additions and 1 deletions

1
def.go
View File

@ -11,6 +11,7 @@ import (
const maxUnixTimestamp int64 = 2147483647 const maxUnixTimestamp int64 = 2147483647
const chtwrsbotID64 int64 = 408101137 const chtwrsbotID64 int64 = 408101137
const angrybirbsbotID64 int64 = 833409972
type DataBackup struct { type DataBackup struct {
Messages []ChatWarsMessage `json:"messages"` Messages []ChatWarsMessage `json:"messages"`

View File

@ -393,7 +393,7 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
FromUserID64: m.TGUserID64, FromUserID64: m.TGUserID64,
FromMsgID64: m.ID64, FromMsgID64: m.ID64,
FromChatID64: m.ChatID64, FromChatID64: m.ChatID64,
ToChatID64: cfg.Bot.Mainchat, ToChatID64: angrybirbsbotID64,
} }
MQTGCmdQueue <- s MQTGCmdQueue <- s
} else if m.ChatID64 == cfg.Bot.Mainchat { } else if m.ChatID64 == cfg.Bot.Mainchat {