debug and add history
This commit is contained in:
parent
48289137e3
commit
28748c34bf
@ -137,7 +137,7 @@ class SacrificeCog(commands.Cog):
|
|||||||
return 0, 0
|
return 0, 0
|
||||||
else:
|
else:
|
||||||
user_history = history[discord_id]
|
user_history = history[discord_id]
|
||||||
results = [match.result for match in user_history]
|
results = [match["result"] for match in user_history]
|
||||||
return sum(results), len(results)
|
return sum(results), len(results)
|
||||||
|
|
||||||
async def win(self, winner_id: str, looser_id: str) -> None:
|
async def win(self, winner_id: str, looser_id: str) -> None:
|
||||||
|
Loading…
Reference in New Issue
Block a user