Skip to content

Commit

Permalink
Update config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sahildesai07 authored Jul 6, 2024
1 parent 69000ae commit 4b9000b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
OWNER_ID = int(os.environ.get("OWNER_ID", "6695586027"))

#Port
PORT = os.environ.get("PORT", "8080")
PORT = os.environ.get("PORT", "8585")

#Database
#Database [https://youtu.be/qFB0cFqiyOM?si=fVicsCcRSmpuja1A]
Expand All @@ -37,15 +37,15 @@
TUT_VID = os.environ.get("TUT_VID", "https://t.me/Ultroid_Official/18") # shareus ka tut_vid he

#force sub channel id, if you want enable force sub
FORCE_SUB_CHANNEL = int(os.environ.get("FORCE_SUB_CHANNEL", "-1001982072622"))
FORCE_SUB_CHANNEL = int(os.environ.get("FORCE_SUB_CHANNEL", "-1002108419450"))

TG_BOT_WORKERS = int(os.environ.get("TG_BOT_WORKERS", "4"))

#start message
START_MSG = os.environ.get("START_MESSAGE", "Hello {first}\n\nI can store private files in Specified Channel and other users can access it from special link.")
try:
ADMINS=[]
for x in (os.environ.get("ADMINS", "6852649461").split()):
for x in (os.environ.get("ADMINS", "6695586027").split()):
ADMINS.append(int(x))
except ValueError:
raise Exception("Your Admins list does not contain valid integers.")
Expand Down

0 comments on commit 4b9000b

Please sign in to comment.