diff --git a/.gitignore b/.gitignore index 83972fa..67794b5 100644 --- a/.gitignore +++ b/.gitignore @@ -60,6 +60,7 @@ cover/ local_settings.py db.sqlite3 db.sqlite3-journal +myfile.db # Flask stuff: instance/ diff --git a/src/platforms/telegram/starter.py b/src/platforms/telegram/starter.py index 834eed2..0252afc 100644 --- a/src/platforms/telegram/starter.py +++ b/src/platforms/telegram/starter.py @@ -3,8 +3,13 @@ from repositories.telegram import TelegramRepository from utils.validations import regex_validation +HELP_TEXT = """ +insure to have a channel and a bot, and add the bot to your channel as an admin. +get your bot token from @BotFather and your channel id from @username_to_id_bot +""" def telegram_starter() -> tuple[str, str]: + print(HELP_TEXT) while True: bot_token = input("Enter Your Bot Token: ") if not regex_validation(pattern=TELEGRAM_BOT_TOKEN_REGEX, string=bot_token):