diff options
Diffstat (limited to 'tgbot.py')
-rwxr-xr-x | tgbot.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,13 +1,13 @@ #!/usr/bin/python3 -import os, time, telebot, asyncio, telebot.async_telebot, nest_asyncio, sys, logging, time +import os, time, telebot, asyncio, telebot.async_telebot, nest_asyncio, sys from FortniteStatusNotifier import * from Formatter import * from FortniteClient import * from FortniteEvents import * from persistence import UserRepository, StatsRepository, PresenceRepository from TelegramBot import TelegramBot, CommandHandler -from Commands import * +from commands import * class FortniteStatusObserverImpl(FortniteStatusObserver): @@ -17,7 +17,7 @@ class FortniteStatusObserverImpl(FortniteStatusObserver): self.__telegram_bot = telegram_bot async def update(self, fortnite_status) -> None: - await self.__telegram_bot.send_message_to_all(formatFortniteStatus(fortnite_status)) + await self.__telegram_bot.send_message_to_all(format_fortnite_status(fortnite_status)) user_repository = UserRepository() stats_repository = StatsRepository() |