use len over .count method for death count
All checks were successful
Build and Push Docker Image / build (push) Successful in 16s

This commit is contained in:
Corban-Lee Jones 2024-12-09 01:56:12 +00:00
parent 60f10d2d68
commit 61af1b937f

View File

@ -135,7 +135,7 @@ class Player(Model):
if not summary:
raise ValueError("You must fetch the steam_profile_summary before creating an embed.")
death_count = (await self.get_deaths()).count()
death_count = len(await self.get_deaths())
embed = Embed(
title="Player",