test
This commit is contained in:
parent
e7766d52bb
commit
8b23348229
10
rules.go
10
rules.go
@ -85,6 +85,16 @@ func resetMsgParsingRules() error {
|
|||||||
}
|
}
|
||||||
rules2 = append(rules2, r)
|
rules2 = append(rules2, r)
|
||||||
|
|
||||||
|
r = MessageParsingRule{
|
||||||
|
Priority: 9999,
|
||||||
|
Description: "Get Stock",
|
||||||
|
Rule: "^/g_stock$",
|
||||||
|
MsgTypeID64: cacheObjSubType[`msg_bot_g_stock`],
|
||||||
|
ChatID64: cfg.Bot.Admin,
|
||||||
|
SenderUserID64: cfg.Bot.Admin,
|
||||||
|
}
|
||||||
|
rules2 = append(rules2, r)
|
||||||
|
|
||||||
r = MessageParsingRule{
|
r = MessageParsingRule{
|
||||||
Priority: 1,
|
Priority: 1,
|
||||||
Description: "Default Main chat",
|
Description: "Default Main chat",
|
||||||
|
Loading…
Reference in New Issue
Block a user