update rules

This commit is contained in:
shoopea 2019-08-21 12:44:34 +08:00
parent 5bdf17fb6e
commit 2defac9ecf

View File

@ -84,7 +84,7 @@ func resetMsgParsingRules() {
`You have (?P<Gold>[0-9]+)💰 and (?P<Qty>[0-9]+) [a-zA-Z ]*\\n` +
`.*Sell:\\n` +
`Sell 1 quickly: /wts_[0-9]+\\n` +
`Sell 5 quickly: /wts_[0-9]+_5\\n\n` +
`Sell 5 quickly: /wts_[0-9]+_5\\n` +
`Sell 10 for [0-9]+💰 each: /wts_[0-9]+_10_[0-9]+$")
,(5000, ` + strconv.Itoa(objSubTypeMessageWithdrawReq) + `, "Withdraw Req", "^/g_withdraw( )+(?P<Item1>[a-z0-9]+)( )+(?P<Quantity1>[0-9]+)` +
`(( )+(?P<Item2>[a-z0-9]+)( )+(?P<Quantity2>[0-9]+)){0,1}` +