From f8e1d88c5e5d7a21cadd7ecd3fb281321a16e8ae Mon Sep 17 00:00:00 2001 From: Zevaryx Date: Sat, 26 Mar 2022 03:32:16 -0600 Subject: [PATCH] Fix warnings.count -> len(warnings) --- jarvis/cogs/admin/warning.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jarvis/cogs/admin/warning.py b/jarvis/cogs/admin/warning.py index 0c15964..d70edf1 100644 --- a/jarvis/cogs/admin/warning.py +++ b/jarvis/cogs/admin/warning.py @@ -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)