Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,29 +19,29 @@
#rohit_1888 on Tg

#Bot token @Botfather
TG_BOT_TOKEN = os.environ.get("TG_BOT_TOKEN", "7542241757:")
TG_BOT_TOKEN = os.environ.get("TG_BOT_TOKEN", "7896788217:AAGiw02l244jO4VF-bbHrKB7uH-zYDYEIL8")
#Your API ID from my.telegram.org
APP_ID = int(os.environ.get("APP_ID", ""))
APP_ID = int(os.environ.get("APP_ID", "24160099"))
#Your API Hash from my.telegram.org
API_HASH = os.environ.get("API_HASH", "")
API_HASH = os.environ.get("API_HASH", "381515f2540b0bf817a68af8b352f5b7")
#Your db channel Id
CHANNEL_ID = int(os.environ.get("CHANNEL_ID", "-1002170811388"))
CHANNEL_ID = int(os.environ.get("CHANNEL_ID", "-1002747807434"))
# NAMA OWNER
OWNER = os.environ.get("OWNER", "sewxiy")
OWNER = os.environ.get("OWNER", "Thizz_zoro")
#OWNER ID
OWNER_ID = int(os.environ.get("OWNER_ID", "7328629001"))
OWNER_ID = int(os.environ.get("OWNER_ID", "6248675084"))
#Port
PORT = os.environ.get("PORT", "8030")
#Database
DB_URI = os.environ.get("DATABASE_URL", "")
DB_URI = os.environ.get("DATABASE_URL", "mongodb+srv://haribotx:haribotx@cluster0.i3skil4.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0")
DB_NAME = os.environ.get("DATABASE_NAME", "Cluster0")

#Time in seconds for message delete, put 0 to never delete
TIME = int(os.environ.get("TIME", "10"))


#force sub channel id, if you want enable force sub
FORCE_SUB_CHANNEL1 = int(os.environ.get("FORCE_SUB_CHANNEL1", "-1002215102799"))
FORCE_SUB_CHANNEL1 = int(os.environ.get("FORCE_SUB_CHANNEL1", "-1002291418095"))
#put 0 to disable
FORCE_SUB_CHANNEL2 = int(os.environ.get("FORCE_SUB_CHANNEL2", "0"))#put 0 to disable
FORCE_SUB_CHANNEL3 = int(os.environ.get("FORCE_SUB_CHANNEL3", "0"))#put 0 to disable
Expand Down