Skip to content

Update config.py #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
18 changes: 9 additions & 9 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@
load_dotenv()

# Get this value from my.telegram.org/apps
API_ID = int(getenv("API_ID"))
API_HASH = getenv("API_HASH")
API_ID = int(getenv("28435307"))
API_HASH = getenv("080f5bf6faf2a1656f5719db47eb9c2b")

# Get your token from @BotFather on Telegram.
BOT_TOKEN = getenv("BOT_TOKEN")
BOT_TOKEN = getenv("6880909457:AAGIMSvHx7GZzwuf-gvVEhYgzIvpdn4Sy78")

# Get your mongo url from cloud.mongodb.com
MONGO_DB_URI = getenv("MONGO_DB_URI", None)
MONGO_DB_URI = getenv("mongodb+srv://ericabraham016:[email protected]/?retryWrites=true&w=majority&appName=Musicbot", None)

DURATION_LIMIT_MIN = int(getenv("DURATION_LIMIT", 60))

# Chat id of a group for logging bot's activities
LOG_GROUP_ID = int(getenv("LOG_GROUP_ID", None))
LOG_GROUP_ID = int(getenv("-1002232962113", None))

# Get this value from @MissRose_Bot on Telegram by /id
OWNER_ID = int(getenv("OWNER_ID", None))
OWNER_ID = int(getenv("6436690546", None))

# Fill Queue Limit . Example - 15
QUEUE_LIMIT = int(getenv("QUEUE_LIMIT", "10"))
Expand All @@ -48,8 +48,8 @@
"GIT_TOKEN", None
) # Fill this variable if your upstream repository is private

SUPPORT_CHANNEL = getenv("SUPPORT_CHANNEL", "https://t.me/TeamInflex")
SUPPORT_GROUP = getenv("SUPPORT_GROUP", "https://t.me/InflexSupport")
SUPPORT_CHANNEL = getenv("SUPPORT_CHANNEL", "https://t.me/musictestttt")
SUPPORT_GROUP = getenv("SUPPORT_GROUP", "https://t.me/musictestttt")

# Set this to True if you want the assistant to automatically leave chats after an interval
AUTO_LEAVING_ASSISTANT = bool(getenv("AUTO_LEAVING_ASSISTANT", False))
Expand All @@ -71,7 +71,7 @@


# Get your pyrogram v2 session from Replit
STRING1 = getenv("STRING_SESSION", None)
STRING1 = getenv("BQGx42sAEC2H2gCO7BmVi8ugDDBwZqbMJeSCQAzPsTDDWrrUVNG_Qf7ePrz78XAOoMgBxvx3_ALw8Y0vZezg2BWHFm7Rilfn_R5JIrZ7_TeytliioeOGMzxf9gh-KA9kZz5yufFyR4hiyQYDGKmIpfcvwU0GZtiFFdNBrTc2W4pIXGLD5OPhw3v2oeXh7dA51kZh94LpqtGCSmVMBwR0MWi5ELa3LGkCd513hz68aMfrNyMMZDfRv0jn3R54rEUCrEm1vZh8tp2qJEnXA6PQaeVwr03oi7cceL20pUqd01SA37wU5RkiM-f0Rs1lNFeNKZgRSg3bhByJX1-eDmpYoKbwGrte6AAAAAGR4MmKAA", None)
STRING2 = getenv("STRING_SESSION2", None)
STRING3 = getenv("STRING_SESSION3", None)
STRING4 = getenv("STRING_SESSION4", None)
Expand Down