diff options
author | Dmitrii Morozov <snoopdesigns@gmail.com> | 2024-06-22 11:00:58 +0200 |
---|---|---|
committer | Dmitrii Morozov <snoopdesigns@gmail.com> | 2024-06-22 11:00:58 +0200 |
commit | 9e555cddb9b1f02ce5d65da8a42437064760ae58 (patch) | |
tree | 5406a1591024cea4e873c1022843ffba499c115f /telegram_bot/commands.py | |
parent | 428c088eeff02b2e878d9e3bac32772e843d74d9 (diff) |
Fixed stats
Diffstat (limited to 'telegram_bot/commands.py')
-rw-r--r-- | telegram_bot/commands.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/telegram_bot/commands.py b/telegram_bot/commands.py index 108f550..5d4a849 100644 --- a/telegram_bot/commands.py +++ b/telegram_bot/commands.py @@ -137,6 +137,7 @@ class RecordStatsCommand(CommandHandler): async def handle(self, message: telebot.types.Message): if self.__fortnite_client.is_initialized(): + stats_datetime = datetime.datetime.now() friends = await self.__fortnite_client.get_friends() for friend in friends: - await self.__stats_repository.put_stats(friend)
\ No newline at end of file + await self.__stats_repository.put_stats(friend, stats_datetime)
\ No newline at end of file |