Skip to content

Commit 2ef262d

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1b8212d commit 2ef262d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

efb_qq_plugin_go_cqhttp/GoCQHttp.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,10 @@ async def forward_msgs_wrapper(msg_elements: List[Dict[str, Any]]) -> List[Dict[
123123
fmt_msgs: List[Dict] = []
124124
for msg in msg_elements:
125125
from_user = await self.get_user_info(msg["sender"]["user_id"])
126-
header_text = {"data": {"text": f'{from_user["remark"]}{from_user["nickname"]}):\n'}, "type": "text"}
126+
header_text = {
127+
"data": {"text": f'{from_user["remark"]}{from_user["nickname"]}):\n'},
128+
"type": "text",
129+
}
127130
footer_text = {"data": {"text": "\n- - - - - - - - - - - - - - -\n"}, "type": "text"}
128131
msg["content"].insert(0, header_text)
129132
msg["content"].append(footer_text)

0 commit comments

Comments
 (0)