Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -189,7 +189,7 @@ logging.basicConfig(
|
|
| 189 |
|
| 190 |
TOKEN = os.environ["BOT_TOKEN"]
|
| 191 |
bot = telebot.TeleBot(TOKEN)
|
| 192 |
-
OWNER_ID = os.getenv
|
| 193 |
|
| 194 |
# ------------------------------------------------------------------------------
|
| 195 |
# Utility Functions: Subscribers, Unsubscribe Requests, and Chat Logging
|
|
|
|
| 189 |
|
| 190 |
TOKEN = os.environ["BOT_TOKEN"]
|
| 191 |
bot = telebot.TeleBot(TOKEN)
|
| 192 |
+
OWNER_ID = int(os.getenv("CHAT_IDS")) # Replace with your Telegram user ID (owner-only commands).
|
| 193 |
|
| 194 |
# ------------------------------------------------------------------------------
|
| 195 |
# Utility Functions: Subscribers, Unsubscribe Requests, and Chat Logging
|