From c5518bae898749bf3d71ad1980888920288ea414 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 29 Feb 2020 16:48:47 +0800 Subject: [PATCH] fixes rules loading for alch --- rules.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules.go b/rules.go index 40c1da2..3a4b407 100644 --- a/rules.go +++ b/rules.go @@ -86,8 +86,8 @@ func resetMsgParsingRules() error { Description: "Alch your supply", Rule: "^/alch_all$", MsgTypeID64: cacheObjSubType[`msg_bot_alch_all`], - ChatID64: chats[id], - SenderUserID64: users[id], + ChatID64: id, + SenderUserID64: id, } rules2 = append(rules2, r) }