diff --git a/cogs/sacrifice/sacrifice.py b/cogs/sacrifice/sacrifice.py index 46e0b9c..78579d1 100644 --- a/cogs/sacrifice/sacrifice.py +++ b/cogs/sacrifice/sacrifice.py @@ -160,8 +160,8 @@ class SacrificeCog(commands.Cog): async def save_history(self, winner_id: str, looser_id: str): history = await self.config.onevone_game_history() - winner_result = {"date": datetime.datetime.now(), "opponent": looser_id, "result": 1} - looser_result = {"date": datetime.datetime.now(), "opponent": winner_id, "result": 0} + winner_result = {"date": datetime.datetime.now().isoformat(), "opponent": looser_id, "result": 1} + looser_result = {"date": datetime.datetime.now().isoformat(), "opponent": winner_id, "result": 0} if winner_id not in history: history[winner_id] = [winner_result] else: