fix rules

This commit is contained in:
shoopea 2020-01-14 15:17:21 +08:00
parent b42bf961ef
commit 7f4175ac59

View File

@ -23,7 +23,7 @@ func resetMsgParsingRules() error {
Priority: 1, Priority: 1,
Description: "Default Main chat", Description: "Default Main chat",
Rule: "(?s:.*)", Rule: "(?s:.*)",
MsgType: cacheObjSubType[`msg_guild_main`], MsgTypeID64: cacheObjSubType[`msg_guild_main`],
ChatID64: cfg.Bot.Mainchat, ChatID64: cfg.Bot.Mainchat,
SenderUserID64: 0, SenderUserID64: 0,
} }
@ -33,7 +33,7 @@ func resetMsgParsingRules() error {
Priority: 1, Priority: 1,
Description: "Default Deposit chat", Description: "Default Deposit chat",
Rule: "(?s:.*)", Rule: "(?s:.*)",
MsgType: cacheObjSubType[`msg_guild_deposit`], MsgTypeID64: cacheObjSubType[`msg_guild_deposit`],
ChatID64: cfg.Bot.Depositchat, ChatID64: cfg.Bot.Depositchat,
SenderUserID64: 0, SenderUserID64: 0,
} }