diff options
| author | Dmitrii Morozov <snoopdesigns@gmail.com> | 2024-06-21 20:17:43 +0200 |
|---|---|---|
| committer | Dmitrii Morozov <snoopdesigns@gmail.com> | 2024-06-21 20:17:43 +0200 |
| commit | 6d4133a04d79b3313c352e536788333af491d4f8 (patch) | |
| tree | 6c986a0e335eaea57aa30d5800df5066323736fd /main.py | |
| parent | a0191d146e821c75036fdc4a2b193e0bbbadcdda (diff) | |
Reworked statistics
Diffstat (limited to 'main.py')
| -rwxr-xr-x | main.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(): |
