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
12 changes: 6 additions & 6 deletions config.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
from os import environ

API_ID = int(environ.get("API_ID", ""))
API_HASH = environ.get("API_HASH", "")
BOT_TOKEN = environ.get("BOT_TOKEN", "")
API_ID = int(environ.get("API_ID", "9840945"))
API_HASH = environ.get("API_HASH", "cda11f5b515a4e629bb4f1c9a69fda3a")
BOT_TOKEN = environ.get("BOT_TOKEN", "8573080865:AAH2XBZo5Udvw1ROOC_MfhqRepjjr_H3HoY")

# Make Bot Admin In Log Channel With Full Rights
LOG_CHANNEL = int(environ.get("LOG_CHANNEL", ""))
ADMINS = int(environ.get("ADMINS", ""))
LOG_CHANNEL = int(environ.get("LOG_CHANNEL", "-1003928055650"))
ADMINS = int(environ.get("ADMINS", "7951477269"))

# Warning - Give Db uri in deploy server environment variable, don't give in repo.
DB_URI = environ.get("DB_URI", "") # Warning - Give Db uri in deploy server environment variable, don't give in repo.
DB_URI = environ.get("DB_URI", "mongodb+srv://admin:admin@cluster0.n3wu0zn.mongodb.net/?appName=Cluster0") # Warning - Give Db uri in deploy server environment variable, don't give in repo.
DB_NAME = environ.get("DB_NAME", "vjjoinrequetbot")

# If this is True Then Bot Accept New Join Request
Expand Down