Fix warnings.count -> len(warnings)
This commit is contained in:
parent
5d3af23f0e
commit
f8e1d88c5e
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ class WarningCog(ModcaseCog):
|
|||
if len(active_warns) == 0:
|
||||
embed = build_embed(
|
||||
title="Warnings",
|
||||
description=f"{warnings.count()} total | 0 currently active",
|
||||
description=f"{len(warnings)} total | 0 currently active",
|
||||
fields=[],
|
||||
)
|
||||
embed.set_author(name=user.username, icon_url=user.display_avatar.url)
|
||||
|
|
Loading…
Add table
Reference in a new issue