Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,13 +14,20 @@ from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton, WebAppInf
|
|
| 14 |
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
|
| 15 |
|
| 16 |
# ================= CONFIGURATION =================
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
|
|
|
|
|
|
|
|
|
| 22 |
PREMIUM_CHANNEL_ID = -1002825744390
|
| 23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
# WebApp URL (index.html)
|
| 25 |
WEB_APP_URL = "https://rony90790.github.io/Forward-bot/index.html"
|
| 26 |
BYSE_API_KEY = "133323knboif885fhgwxvf"
|
|
|
|
| 14 |
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
|
| 15 |
|
| 16 |
# ================= CONFIGURATION =================
|
| 17 |
+
# Hugging Face Secrets থেকে মানগুলো নিয়ে আসা হচ্ছে
|
| 18 |
+
BOT_TOKEN = os.environ.get("BOT_TOKEN")
|
| 19 |
+
API_ID = int(os.environ.get("API_ID", 2040)) # API_ID সংখ্যা (integer) হতে হয়
|
| 20 |
+
API_HASH = os.environ.get("API_HASH")
|
| 21 |
+
SUPABASE_URL = os.environ.get("SUPABASE_URL")
|
| 22 |
+
SUPABASE_KEY = os.environ.get("SUPABASE_KEY")
|
| 23 |
+
BYSE_API_KEY = os.environ.get("BYSE_API_KEY")
|
| 24 |
+
|
| 25 |
PREMIUM_CHANNEL_ID = -1002825744390
|
| 26 |
|
| 27 |
+
# WebApp URL (index.html)
|
| 28 |
+
WEB_APP_URL = "https://rony90790.github.io/Forward-bot/index.html"
|
| 29 |
+
ADMIN_IDS = [7307789267]
|
| 30 |
+
|
| 31 |
# WebApp URL (index.html)
|
| 32 |
WEB_APP_URL = "https://rony90790.github.io/Forward-bot/index.html"
|
| 33 |
BYSE_API_KEY = "133323knboif885fhgwxvf"
|