Update bot.py
Browse files
bot.py
CHANGED
|
@@ -14,6 +14,8 @@ logging.basicConfig(format="%(asctime)s - %(levelname)s - %(message)s", level=lo
|
|
| 14 |
|
| 15 |
# Get environment variables
|
| 16 |
TOKEN = os.getenv("TELEGRAM_BOT_TOKEN")
|
|
|
|
|
|
|
| 17 |
if not TOKEN:
|
| 18 |
raise ValueError("Missing Telegram token. Please set TELEGRAM_BOT_TOKEN in environment variables.")
|
| 19 |
|
|
|
|
| 14 |
|
| 15 |
# Get environment variables
|
| 16 |
TOKEN = os.getenv("TELEGRAM_BOT_TOKEN")
|
| 17 |
+
print(f"Telegram Token: {TOKEN[:5]}********")
|
| 18 |
+
|
| 19 |
if not TOKEN:
|
| 20 |
raise ValueError("Missing Telegram token. Please set TELEGRAM_BOT_TOKEN in environment variables.")
|
| 21 |
|