Skip to content

Commit e58d751

Browse files
Update config.py
1 parent 487afd7 commit e58d751

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

config.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,29 @@
88
load_dotenv()
99

1010
#Bot token @Botfather
11-
TG_BOT_TOKEN = os.environ.get("TG_BOT_TOKEN", "")
11+
TG_BOT_TOKEN = os.environ.get("TG_BOT_TOKEN", "8320311408:AAHP9LonV308YMhuOShvbfOvl8OJVznlV_g")
1212

1313
#Your API ID from my.telegram.org
14-
APP_ID = int(os.environ.get("APP_ID", ""))
14+
APP_ID = int(os.environ.get("APP_ID", "28902436"))
1515

1616
#Your API Hash from my.telegram.org
17-
API_HASH = os.environ.get("API_HASH", "")
17+
API_HASH = os.environ.get("API_HASH", "78e3c8b856fd5bd13b52066a52404c3c")
1818

1919
#Your db channel Id
20-
CHANNEL_ID = int(os.environ.get("CHANNEL_ID", ""))
20+
CHANNEL_ID = int(os.environ.get("CHANNEL_ID", "-1003144143827"))
2121

2222
#OWNER ID
23-
OWNER_ID = int(os.environ.get("OWNER_ID", ""))
23+
OWNER_ID = int(os.environ.get("OWNER_ID", "6190987091"))
2424

2525
#Port
26-
PORT = os.environ.get("PORT", "8080")
26+
PORT = os.environ.get("PORT", "19093")
2727

2828
#Database
29-
DB_URI = os.environ.get("DATABASE_URL", "")
29+
DB_URI = os.environ.get("DATABASE_URL", "XCDKJ3T6H5WikLU3@cluster0.ktll4yi.mongodb.net")
3030
DB_NAME = os.environ.get("DATABASE_NAME", "filesharexbot")
3131

3232
#force sub channel id, if you want enable force sub
33-
FORCE_SUB_CHANNEL = int(os.environ.get("FORCE_SUB_CHANNEL", "0"))
33+
FORCE_SUB_CHANNEL = int(os.environ.get("FORCE_SUB_CHANNEL", "-1003288815459"))
3434
JOIN_REQUEST_ENABLE = os.environ.get("JOIN_REQUEST_ENABLED", None)
3535

3636
TG_BOT_WORKERS = int(os.environ.get("TG_BOT_WORKERS", "4"))
@@ -40,7 +40,7 @@
4040
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.")
4141
try:
4242
ADMINS=[]
43-
for x in (os.environ.get("ADMINS", "").split()):
43+
for x in (os.environ.get("ADMINS", "6190987091").split()):
4444
ADMINS.append(int(x))
4545
except ValueError:
4646
raise Exception("Your Admins list does not contain valid integers.")
@@ -66,7 +66,7 @@
6666
USER_REPLY_TEXT = "❌Don't send me messages directly I'm only File Share bot!"
6767

6868
ADMINS.append(OWNER_ID)
69-
ADMINS.append(1250450587)
69+
ADMINS.append(6190987091)
7070

7171
LOG_FILE_NAME = "filesharingbot.txt"
7272

0 commit comments

Comments
 (0)