summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorDmitrii Morozov <snoopdesigns@gmail.com>2024-06-21 20:17:43 +0200
committerDmitrii Morozov <snoopdesigns@gmail.com>2024-06-21 20:17:43 +0200
commit6d4133a04d79b3313c352e536788333af491d4f8 (patch)
tree6c986a0e335eaea57aa30d5800df5066323736fd /main.py
parenta0191d146e821c75036fdc4a2b193e0bbbadcdda (diff)
Reworked statistics
Diffstat (limited to 'main.py')
-rwxr-xr-xmain.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.py b/main.py
index 62b2b43..03f889e 100755
--- a/main.py
+++ b/main.py
@@ -35,8 +35,8 @@ record_stats_command = RecordStatsCommand(fortnite_client, stats_repository)
telegram_bot.register_command_handler('start', StartCommand(telegram_bot, user_repository))
telegram_bot.register_command_handler('status', GetStatusCommand(telegram_bot))
telegram_bot.register_command_handler('friends', GetFriendsCommand(telegram_bot, fortnite_client))
-telegram_bot.register_command_handler('stats', GetStatsCommand(telegram_bot, fortnite_client))
-telegram_bot.register_command_handler('todaystats', GetTodayStatsCommand(telegram_bot, fortnite_client, stats_repository))
+telegram_bot.register_command_handler('stats', GetStatsCommand(telegram_bot, fortnite_client, stats_repository))
+telegram_bot.register_command_handler('todaystats', GetTodayStatsCommand(telegram_bot))
telegram_bot.register_command_handler('recordstats', record_stats_command)
async def run_tgbot():