diff options
author | Dmitrii Morozov <snoopdesigns@gmail.com> | 2024-05-07 16:34:14 +0200 |
---|---|---|
committer | Dmitrii Morozov <snoopdesigns@gmail.com> | 2024-05-07 16:34:14 +0200 |
commit | f5c57d8e73f33ca1d7374a2662fbc7a4592eb7cd (patch) | |
tree | 6c6e931b4eadee43a1ee885e780b2b2b6b5ef56f /tgbot.py | |
parent | 104c0b32a1e30a56900bb6a17ab9a009c54b76bb (diff) |
Python code style
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() |