debug and add history

This commit is contained in:
Amazed 2020-10-02 21:56:01 +02:00
parent 48289137e3
commit 28748c34bf

View File

@ -137,7 +137,7 @@ class SacrificeCog(commands.Cog):
return 0, 0
else:
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)
async def win(self, winner_id: str, looser_id: str) -> None: