mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-16 18:50:13 +00:00
bot: tidy up code
This commit is contained in:
parent
f37176b588
commit
f39fd1729d
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ async def system_card(conn, client: discord.Client, system: System, is_own_syste
|
|||
value=truncate_field_body(system.description), inline=False)
|
||||
|
||||
all_members = await system.get_members(conn)
|
||||
if len(all_members) == 0:
|
||||
if not all_members:
|
||||
member_count = "(no members)"
|
||||
else:
|
||||
member_count = len(all_members)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue