summaryrefslogtreecommitdiff
path: root/tgbot.py
diff options
context:
space:
mode:
authorDmitrii Morozov <snoopdesigns@gmail.com>2024-05-07 16:34:14 +0200
committerDmitrii Morozov <snoopdesigns@gmail.com>2024-05-07 16:34:14 +0200
commitf5c57d8e73f33ca1d7374a2662fbc7a4592eb7cd (patch)
tree6c6e931b4eadee43a1ee885e780b2b2b6b5ef56f /tgbot.py
parent104c0b32a1e30a56900bb6a17ab9a009c54b76bb (diff)
Python code style
Diffstat (limited to 'tgbot.py')
-rwxr-xr-xtgbot.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tgbot.py b/tgbot.py
index 360f3b0..a0e248b 100755
--- a/tgbot.py
+++ b/tgbot.py
@@ -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()