From cb69e305b5b76b81402b948848779dce1a236004 Mon Sep 17 00:00:00 2001 From: shoopea Date: Fri, 25 Oct 2019 12:39:25 +0800 Subject: [PATCH] change ambush forward --- def.go | 1 + workers.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/def.go b/def.go index cb4c572..4f4ad55 100644 --- a/def.go +++ b/def.go @@ -11,6 +11,7 @@ import ( const maxUnixTimestamp int64 = 2147483647 const chtwrsbotID64 int64 = 408101137 +const angrybirbsbotID64 int64 = 833409972 type DataBackup struct { Messages []ChatWarsMessage `json:"messages"` diff --git a/workers.go b/workers.go index 55a481e..7807907 100644 --- a/workers.go +++ b/workers.go @@ -393,7 +393,7 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) { FromUserID64: m.TGUserID64, FromMsgID64: m.ID64, FromChatID64: m.ChatID64, - ToChatID64: cfg.Bot.Mainchat, + ToChatID64: angrybirbsbotID64, } MQTGCmdQueue <- s } else if m.ChatID64 == cfg.Bot.Mainchat {