Fix warnings.count -> len(warnings)

This commit is contained in:
Zeva Rose 2022-03-26 03:32:16 -06:00
parent 5d3af23f0e
commit f8e1d88c5e

View file

@ -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)