From 90540f0b36fda80c4402597eb64b420ef4b2000c Mon Sep 17 00:00:00 2001 From: tahie001 Date: Mon, 23 Dec 2024 13:48:44 +0530 Subject: [PATCH] Update config.py --- config.py | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/config.py b/config.py index 7015f54..d772e2d 100644 --- a/config.py +++ b/config.py @@ -7,28 +7,28 @@ load_dotenv() # Get this value from my.telegram.org/apps -API_ID = API_ID -API_HASH = "API_HASH" +API_ID = 25893605 +API_HASH = "63f9d09d89fd87c5675304ce61060336" # Get your token from @BotFather on Telegram. -BOT_TOKEN = "BOT_TOKEN" +BOT_TOKEN = "7986607469:AAEnL96FgXl8M9-wIBtchu3iunufPL9BuF0" # Get your mongo url from cloud.mongodb.com -MONGO_DB_URI = "MONGO_DB_URI" +MONGO_DB_URI = "mongodb+srv://tahircolive123:tahircolive123@cluster0.ymlnl.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0" DURATION_LIMIT_MIN = int(getenv("DURATION_LIMIT", 60)) # Chat id of a group for logging bot's activities -LOG_GROUP_ID = LOG_GROUP_ID +LOG_GROUP_ID = -1002321714948 # Get this value from @ultron2_robot on Telegram by /id -OWNER_ID = OWNER_ID +OWNER_ID = 7265739086 ## Fill these variables if you're deploying on heroku. # Your heroku app name -HEROKU_APP_NAME = getenv("HEROKU_APP_NAME") +HEROKU_APP_NAME = getenv("musicbot001") # Get it from http://dashboard.heroku.com/account -HEROKU_API_KEY = getenv("HEROKU_API_KEY") +HEROKU_API_KEY = getenv("HRKU-ab87ee10-2f84-463c-9e15-9c600f94b29e") UPSTREAM_REPO = getenv( "UPSTREAM_REPO", @@ -39,8 +39,8 @@ "GIT_TOKEN", None ) # Fill this variable if your upstream repository is private -SUPPORT_CHANNEL = "https://t.me/thanos_pro" -SUPPORT_GROUP = "https://t.me/thanosprosss" +SUPPORT_CHANNEL = "https://t.me/Tahir_update" +SUPPORT_GROUP = "https://t.me/Music_support_group_Tahir" # 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)) @@ -62,7 +62,7 @@ # Get your pyrogram v2 session from Replit -STRING1 = "STRING_SESSION" +STRING1 = "BQGLGuUAp-mUizc6jfHVqvPlzSbQszK_y-BPRNT_IYapuT0o6o4558jlc4ds92X6JwyXp2_EfubEXWMx1NDKMMW3Bp40g5jsmMbDHcJyOa_zqp4LdhtqvFRyv9IwsTSjElsmdYonxSS0OjdezHECU67JrWh8bd7VTs-l71Sh7tovrWf4ctWvdtzAPfesHpklKwl928EeWMzdmp3TUE5IY7FVXejzHVfTlomwjA9nfXOM9NeJRSg-VabY1X2nJtYi3ky471Ruo2G11OAec7FYEkyxYU-lV-kttuHvTW4Jh0srfg27c9DsgSmfa_th1hXBIkqoB0H0BF2umnHTdG2e8dZFORyPegAAAAHOi34qAA" STRING2 = getenv("STRING_SESSION2", None) STRING3 = getenv("STRING_SESSION3", None) STRING4 = getenv("STRING_SESSION4", None) @@ -77,20 +77,20 @@ confirmer = {} -START_IMG_URL = "https://graph.org/file/f586172fe40a0b5d0b0df.jpg" +START_IMG_URL = "https://graph.org/file/762e6e8207bf6ded5fa82-067dba8323ee6c3e15.jpg" -PING_IMG_URL = "https://graph.org/file/f586172fe40a0b5d0b0df.jpg" +PING_IMG_URL = "https://graph.org/file/762e6e8207bf6ded5fa82-067dba8323ee6c3e15.jpg" -PLAYLIST_IMG_URL = "https://graph.org/file/763a841a2ad5cbb1e2fc5.jpg" -STATS_IMG_URL = "https://graph.org/file/f586172fe40a0b5d0b0df.jpg" -TELEGRAM_AUDIO_URL = "https://graph.org//file/2f7debf856695e0ef0607.png" -TELEGRAM_VIDEO_URL = "https://graph.org//file/2f7debf856695e0ef0607.png" -STREAM_IMG_URL = "https://te.legra.ph/file/bd995b032b6bd263e2cc9.jpg" -SOUNCLOUD_IMG_URL = "https://te.legra.ph/file/bb0ff85f2dd44070ea519.jpg" -YOUTUBE_IMG_URL = "https://graph.org//file/2f7debf856695e0ef0607.png" -SPOTIFY_ARTIST_IMG_URL = "https://te.legra.ph/file/37d163a2f75e0d3b403d6.jpg" -SPOTIFY_ALBUM_IMG_URL = "https://te.legra.ph/file/b35fd1dfca73b950b1b05.jpg" -SPOTIFY_PLAYLIST_IMG_URL = "https://te.legra.ph/file/95b3ca7993bbfaf993dcb.jpg" +PLAYLIST_IMG_URL = "https://graph.org/file/762e6e8207bf6ded5fa82-067dba8323ee6c3e15.jpg" +STATS_IMG_URL = "https://graph.org/file/762e6e8207bf6ded5fa82-067dba8323ee6c3e15.jpg" +TELEGRAM_AUDIO_URL = "https://graph.org/file/762e6e8207bf6ded5fa82-067dba8323ee6c3e15.jpg" +TELEGRAM_VIDEO_URL = "https://graph.org/file/762e6e8207bf6ded5fa82-067dba8323ee6c3e15.jpg" +STREAM_IMG_URL = "https://graph.org/file/762e6e8207bf6ded5fa82-067dba8323ee6c3e15.jpg" +SOUNCLOUD_IMG_URL = "https://graph.org/file/762e6e8207bf6ded5fa82-067dba8323ee6c3e15.jpg" +YOUTUBE_IMG_URL = "https://graph.org/file/762e6e8207bf6ded5fa82-067dba8323ee6c3e15.jpg" +SPOTIFY_ARTIST_IMG_URL = "https://graph.org/file/762e6e8207bf6ded5fa82-067dba8323ee6c3e15.jpg" +SPOTIFY_ALBUM_IMG_URL = "https://graph.org/file/762e6e8207bf6ded5fa82-067dba8323ee6c3e15.jpg" +SPOTIFY_PLAYLIST_IMG_URL = "https://graph.org/file/762e6e8207bf6ded5fa82-067dba8323ee6c3e15.jpg" def time_to_seconds(time):