♻️ reformat module scope

This commit is contained in:
xtaodada 2022-03-20 18:12:18 +08:00
parent afa85889dd
commit 1ee7a8b58a
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659
2 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ async def info_command(_: Client, message: Message):
module.latestRelease,
module.createdAt,
module.updatedAt,
"\n ".join(module.scope),
"\n ".join(module.scope) if module.scope else "未声明",
),
reply_markup=gen_info_button(module),
quote=True,

View File

@ -24,7 +24,7 @@ async def inline_process(_: Client, query: InlineQuery):
module.latestRelease,
module.createdAt,
module.updatedAt,
"\n ".join(module.scope),
"\n ".join(module.scope) if module.scope else "未声明",
)),
reply_markup=gen_info_button(module),
))
@ -49,7 +49,7 @@ async def inline_process(_: Client, query: InlineQuery):
module.latestRelease,
module.createdAt,
module.updatedAt,
"\n ".join(module.scope),
"\n ".join(module.scope) if module.scope else "未声明",
)),
reply_markup=gen_info_button(module),
))