Skip to content
Open
Show file tree
Hide file tree
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
Binary file added IMG_20241223_134623_437.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 21 additions & 21 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@
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 = "8017523093:AAEE8phrPvYzgNElj5X3Jv-GE5ZVBiKH0LI"

# Get your mongo url from cloud.mongodb.com
MONGO_DB_URI = "MONGO_DB_URI"
MONGO_DB_URI = "mongodb+srv://harish12356u:harish12356u@cluster0.uxxbf.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
Expand All @@ -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))
Expand All @@ -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)
Expand All @@ -77,20 +77,20 @@
confirmer = {}


START_IMG_URL = "https://graph.org/file/f586172fe40a0b5d0b0df.jpg"
START_IMG_URL = "https://graph.org/file/041cc46ced69465a3aacf-413ec2268389e8ffd9.jpg"

PING_IMG_URL = "https://graph.org/file/f586172fe40a0b5d0b0df.jpg"
PING_IMG_URL = "https://graph.org/file/041cc46ced69465a3aacf-413ec2268389e8ffd9.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/041cc46ced69465a3aacf-413ec2268389e8ffd9.jpg"
STATS_IMG_URL = "https://graph.org/file/041cc46ced69465a3aacf-413ec2268389e8ffd9.jpg"
TELEGRAM_AUDIO_URL = "https://graph.org/file/041cc46ced69465a3aacf-413ec2268389e8ffd9.jpg"
TELEGRAM_VIDEO_URL = "https://graph.org/file/041cc46ced69465a3aacf-413ec2268389e8ffd9.jpg"
STREAM_IMG_URL = "https://graph.org/file/041cc46ced69465a3aacf-413ec2268389e8ffd9.jpg"
SOUNCLOUD_IMG_URL = "https://graph.org/file/041cc46ced69465a3aacf-413ec2268389e8ffd9.jpg"
YOUTUBE_IMG_URL = "https://graph.org/file/041cc46ced69465a3aacf-413ec2268389e8ffd9.jpg"
SPOTIFY_ARTIST_IMG_URL = "https://graph.org/file/041cc46ced69465a3aacf-413ec2268389e8ffd9.jpg"
SPOTIFY_ALBUM_IMG_URL = "https://graph.org/file/041cc46ced69465a3aacf-413ec2268389e8ffd9.jpg"
SPOTIFY_PLAYLIST_IMG_URL = "https://graph.org/file/041cc46ced69465a3aacf-413ec2268389e8ffd9.jpg"


def time_to_seconds(time):
Expand Down
14 changes: 7 additions & 7 deletions sample.env
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
API_ID=
API_HASH=
BOT_TOKEN=
LOG_GROUP_ID=
MONGO_DB_URI=
OWNER_ID=
STRING_SESSION=
API_ID=25893605
API_HASH=63f9d09d89fd87c5675304ce61060336
BOT_TOKEN=8017523093:AAEE8phrPvYzgNElj5X3Jv-GE5ZVBiKH0LI
LOG_GROUP_ID=-1002321714948
MONGO_DB_URI=mongodb+srv://harish12356u:harish12356u@cluster0.uxxbf.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0
OWNER_ID=7265739086
STRING_SESSION=BQGLGuUAp-mUizc6jfHVqvPlzSbQszK_y-BPRNT_IYapuT0o6o4558jlc4ds92X6JwyXp2_EfubEXWMx1NDKMMW3Bp40g5jsmMbDHcJyOa_zqp4LdhtqvFRyv9IwsTSjElsmdYonxSS0OjdezHECU67JrWh8bd7VTs-l71Sh7tovrWf4ctWvdtzAPfesHpklKwl928EeWMzdmp3TUE5IY7FVXejzHVfTlomwjA9nfXOM9NeJRSg-VabY1X2nJtYi3ky471Ruo2G11OAec7FYEkyxYU-lV-kttuHvTW4Jh0srfg27c9DsgSmfa_th1hXBIkqoB0H0BF2umnHTdG2e8dZFORyPegAAAAHOi34qAA