summaryrefslogtreecommitdiff
path: root/telegram_bot
diff options
context:
space:
mode:
Diffstat (limited to 'telegram_bot')
-rw-r--r--telegram_bot/commands.py3
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