Skip to content

Commit

Permalink
Update config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Mhmdzend22 authored Sep 22, 2024
1 parent 892a186 commit be7144c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


#Bot token @Botfather
TG_BOT_TOKEN = os.environ.get("TG_BOT_TOKEN", "7843183372:AAEhF3sXjOxmEovr6vMeYrbaRb-TR5h-NX0")
TG_BOT_TOKEN = os.environ.get("TG_BOT_TOKEN", "784372:AAEhF3sXjOxmEovr6vMeYrbaRb-TR5h-NX0")

#Your API ID from my.telegram.org
APP_ID = int(os.environ.get("APP_ID", "24213496"))
Expand All @@ -31,12 +31,12 @@
PORT = os.environ.get("PORT", "8030")

#Database
DB_URI = os.environ.get("DATABASE_URL", "mongodb+srv://madara:[email protected]/?retryWrites=true&w=majority&appName=Cluster0")
DB_URI = os.environ.get("DATABASE_URL", "")
DB_NAME = os.environ.get("DATABASE_NAME", "Cluster0")

#force sub channel id, if you want enable force sub
FORCE_SUB_CHANNEL = int(os.environ.get("FORCE_SUB_CHANNEL", "-1001787446344"))
FORCE_SUB_CHANNEL2 = int(os.environ.get("FORCE_SUB_CHANNEL2", "-1002114971220 "))
FORCE_SUB_CHANNEL = int(os.environ.get("FORCE_SUB_CHANNEL", "0"))
FORCE_SUB_CHANNEL2 = int(os.environ.get("FORCE_SUB_CHANNEL2", "-0"))

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

Expand Down

0 comments on commit be7144c

Please sign in to comment.