diff --git a/bot/handler/__init__.py b/bot/handler/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/bot/handler/addincome_command.py b/bot/handler/addincome_command.py new file mode 100644 index 0000000..e69de29 diff --git a/bot/handler/config_command.py b/bot/handler/config_command.py new file mode 100644 index 0000000..e69de29 diff --git a/bot/handler/entry_command.py b/bot/handler/entry_command.py new file mode 100644 index 0000000..e69de29 diff --git a/bot/handler/gettransaction_command.py b/bot/handler/gettransaction_command.py new file mode 100644 index 0000000..e69de29 diff --git a/bot/handler/quickadd_command.py b/bot/handler/quickadd_command.py new file mode 100644 index 0000000..e69de29 diff --git a/bot/updates.py b/bot/updates.py deleted file mode 100644 index ba5c451..0000000 --- a/bot/updates.py +++ /dev/null @@ -1,13 +0,0 @@ -from telegram import Bot -import os -import bot.firestore_service as fs - -TOKEN = os.environ.get("BOT_TOKEN") -bot = Bot(token=TOKEN) - - -def send_new_feature_message(new_feature_message): - users = fs.get_all_user_id() - for user_id in users: - bot.send_message(chat_id=user_id, text=new_feature_message) - print("Message has been pushed to all users") diff --git a/push_updates.py b/push_updates.py deleted file mode 100644 index fbc6aae..0000000 --- a/push_updates.py +++ /dev/null @@ -1,10 +0,0 @@ -import os -from telegram import Bot -import bot.updates as up - -TOKEN = os.environ.get("BOT_TOKEN") -bot = Bot(token=TOKEN) - -# msg = "Msg here to push" -# up.send_new_feature_message(msg) -