test inspect

This commit is contained in:
shoopea 2020-01-21 14:01:45 +08:00
parent 5e2ce7e747
commit e3f360d665
2 changed files with 39 additions and 0 deletions

View File

@ -34,6 +34,21 @@
"name": "Guild withdraw conf ack",
"obj_type": "msg"
},
{
"intl_id": "msg_g_inspect_req",
"name": "Guild inspect reg",
"obj_type": "msg"
},
{
"intl_id": "msg_inspect_ack",
"name": "Item inspect ack",
"obj_type": "msg"
},
{
"intl_id": "msg_invalid_action",
"name": "Item inspect ack",
"obj_type": "msg"
},
{
"intl_id": "msg_war",
"name": "War report",

View File

@ -1830,5 +1830,29 @@
"msg_type": "msg_ny2020_battle",
"chat_id": -1001198527605,
"user_id": 841616455
},
{
"prio": 5000,
"descn": "Invalid action",
"rule": "^\\[invalid action\\]$",
"msg_type": "msg_invalid_action",
"chat_id": 0,
"user_id": 0
},
{
"prio": 5000,
"descn": "Guild inspect req",
"rule": "^/g_inspect_(?P<Item>[a-z0-9]+)$",
"msg_type": "msg_g_inspect_req",
"chat_id": 0,
"user_id": 0
},
{
"prio": 5000,
"descn": "Item inspect ack",
"rule": "^Item: (?P<Name> .*)$",
"msg_type": "msg_inspect_ack",
"chat_id": 0,
"user_id": 0
}
]