From 0a477b939e105647f9b24a91d55918ad65d68cf9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 3 Dec 2023 07:27:40 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20`pre-commit-ci`=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E6=A0=BC=E5=BC=8F=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GenshinUID/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/GenshinUID/__init__.py b/GenshinUID/__init__.py index 1337e049..f1b4d483 100644 --- a/GenshinUID/__init__.py +++ b/GenshinUID/__init__.py @@ -468,7 +468,9 @@ async def get_all_message(bot: Bot, ev: Event): for contentinfo in ev.content: if contentinfo[0] == 'mentioned_info': if len(contentinfo[1].user_id_list) > 1: - at_list = [Message('at', i) for i in contentinfo[1].user_id_list] + at_list = [ + Message('at', i) for i in contentinfo[1].user_id_list + ] message.extend(at_list) elif bot.adapter.get_name() == 'Discord': from nonebot.adapters.discord import (