diff --git a/rules.go b/rules.go index 762c921..628c34a 100644 --- a/rules.go +++ b/rules.go @@ -68,7 +68,9 @@ func resetMsgParsingRules() { `(( )+(?P[a-z0-9]+)( )+(?P[0-9]+)){0,1}` + `(( )+(?P[a-z0-9]+)( )+(?P[0-9]+)){0,1}` + `(( )+(?P[a-z0-9]+)( )+(?P[0-9]+)){0,1}$") - ,(5000, ` + strconv.Itoa(objSubTypeMessageWithdrawCode) + `, "Withdraw Code", "^Withdrawing:\\n$` + + ,(5000, ` + strconv.Itoa(objSubTypeMessageWithdrawCode) + `, "Withdraw Code", "^Withdrawing Potion of Rage x 10. Recipient shall send to bot:\\n` + + `/g_receive [a-z0-9]+$") + ,(5000, ` + strconv.Itoa(objSubTypeMessageWithdrawCode) + `, "Withdraw Code", "^Withdrawing:\\n` + `(?P.*) x (?P.*)\\n` + `((?P.*) x (?P.*)\\n){0,1}` + `((?P.*) x (?P.*)\\n){0,1}` + @@ -79,7 +81,7 @@ func resetMsgParsingRules() { `((?P.*) x (?P.*)\\n){0,1}` + `Recipient shall send to bot:\\n` + `/g_receive [a-z0-9]+$") - ,(5000, ` + strconv.Itoa(objSubTypeMessageWithdrawRcv) + `, "Withdraw Code", "^Received:\\n$` + + ,(5000, ` + strconv.Itoa(objSubTypeMessageWithdrawRcv) + `, "Withdraw Code", "^Received:\\n` + `(?P.*) x (?P.*)\\n` + `((?P.*) x (?P.*)\\n){0,1}` + `((?P.*) x (?P.*)\\n){0,1}` +