fix: utils

This commit is contained in:
xtaodada 2022-08-04 16:47:16 +08:00
parent 1fa2ee504f
commit ea67186024
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -26,5 +26,5 @@ async def send_github_message(
message: Union[str, Message, MessageSegment],
) -> Any:
message_sent: Dict[str, Any] = await matcher.send(message)
set_message_info(str(message_sent["message_id"]), owner, repo, number)
set_message_info(str(message_sent["result"]["message_id"]), owner, repo, number)
return message_sent