fix shop msg

This commit is contained in:
shoopea 2020-12-09 13:56:12 +01:00
parent 529ace5ba3
commit d1607ca6e6

View File

@ -617,12 +617,28 @@
}, },
{ {
"prio": 5000, "prio": 5000,
"descn": "Guild stock any Ack", "descn": "Guild stock any Ack #1",
"rule": "^Guild Warehouse:(?P<Stock>(\\n(([0-9a-z]+ (.*) x ([0-9]+))|(u[0-9]+[ᵃᵇᶜᵈᵉ]{0,1} (.*))))+)$",
"msg_type": "msg_gstock_any_ack",
"chat_id": 0,
"user_id": 0
},
{
"prio": 5000,
"descn": "Guild stock any Ack #2",
"rule": "^Guild Warehouse: (?P<Weight>[0-9]+)\\n{0,1}(?P<Stock>(\\n(\\n|📕|📗|📘|📙|📒|[0-9a-z]+ (.*) x ([0-9]+)|u[0-9]+[ᵃᵇᶜᵈᵉ]{0,1} (.*)))+)$", "rule": "^Guild Warehouse: (?P<Weight>[0-9]+)\\n{0,1}(?P<Stock>(\\n(\\n|📕|📗|📘|📙|📒|[0-9a-z]+ (.*) x ([0-9]+)|u[0-9]+[ᵃᵇᶜᵈᵉ]{0,1} (.*)))+)$",
"msg_type": "msg_gstock_any_ack", "msg_type": "msg_gstock_any_ack",
"chat_id": 0, "chat_id": 0,
"user_id": 0 "user_id": 0
}, },
{
"prio": 5000,
"descn": "Guild stock any Ack #3",
"rule": "^Guild Warehouse:\\n{0,1}(?P<Stock>(\\n(\\n|📕|📗|📘|📙|📒|[0-9a-z]+ (.*) x ([0-9]+)|u[0-9]+[ᵃᵇᶜᵈᵉ]{0,1} (.*)))+)$",
"msg_type": "msg_gstock_any_ack",
"chat_id": 0,
"user_id": 0
},
{ {
"prio": 5000, "prio": 5000,
"descn": "Too busy now", "descn": "Too busy now",
@ -1986,7 +2002,7 @@
{ {
"prio": 5000, "prio": 5000,
"descn": "Shop main ack", "descn": "Shop main ack",
"rule": "^Welcome, to the (?P<Name>[a-zA-Z0-9 -]+) #(?P<Number>[0-9]+)\\.\\n(?P<User>.+) (?P<Mana>[0-9]+)\\/(?P<ManaTotal>[0-9]+)💧the (?P<Class>.+) from (?P<Castle>.+)\\n\\n(?P<Fees>.*)\\n\\n(the (?P<Guru>.*) Guru\\n\\n){0,1}.* is (?P<Open>(open|closed))\\.\\n(?s:.*).*\\/ws_(?P<Link>[a-zA-Z0-9]+)$", "rule": "^Welcome, to the (?P<Name>[a-zA-Z0-9 -]+) #(?P<Number>[0-9]+)\\.\\n(?P<User>.+) (?P<Mana>[0-9]+)\\/(?P<ManaTotal>[0-9]+)💧the (?P<Class>.+) from (?P<Castle>.+)\\n\\n(?P<Fees>.*)(\\n)+(the (?P<Guru>.*) Guru(\\n)+){0,1}.* is (?P<Open>(open|closed))\\.\\n(?s:.*).*\\/ws_(?P<Link>[a-zA-Z0-9]+)$",
"msg_type": "msg_shop_main_ack", "msg_type": "msg_shop_main_ack",
"chat_id": 0, "chat_id": 0,
"user_id": 0 "user_id": 0