From ea6718602495126be1238c0021d0b74b5854fc27 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Thu, 4 Aug 2022 16:47:16 +0800 Subject: [PATCH] fix: utils --- src/plugins/github/utils/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/github/utils/__init__.py b/src/plugins/github/utils/__init__.py index 54ef5ba..e83265c 100644 --- a/src/plugins/github/utils/__init__.py +++ b/src/plugins/github/utils/__init__.py @@ -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