pmrony commited on
Commit
a9cc979
·
verified ·
1 Parent(s): 7e12b9c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -5
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
- BOT_TOKEN = "8628213901:AAF86-pZWxhvR-tOfNi9KLOTKII_YFFxF5U"
18
- API_ID = 2040
19
- API_HASH = "b18441a1ff607e10a989891a5462e627"
20
- SUPABASE_URL = "https://yctirvnryrzygoxbpvoy.supabase.co"
21
- SUPABASE_KEY = "sb_publishable_aBcD-atruskWwoCiLr0lWw_inT8GLoN"
 
 
 
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"