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
2 changes: 1 addition & 1 deletion .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ This project uses:
### 1. Clone the Repository

```bash
git clone https://github.com/deadlineTech/music.git
git clone https://github.com/naynay11122211/MS.git
cd music
```

Expand Down
2 changes: 1 addition & 1 deletion DeadlineTech/core/mongo.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
LOGGER(__name__).info("⏳ Establishing a secure link to your MongoDB database...")
try:
_mongo_async_ = AsyncIOMotorClient(MONGO_DB_URI)
mongodb = _mongo_async_.deadline
mongodb = _mongo_async_.Anon
LOGGER(__name__).info("✅ Successfully connected to MongoDB. All systems are ready!")
except:
LOGGER(__name__).error("❌ MongoDB connection failed!")
Expand Down
6 changes: 3 additions & 3 deletions DeadlineTech/plugins/tools/queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,11 @@ async def queued_tracks(client, CallbackQuery: CallbackQuery, _):
for x in got:
j += 1
if j == 1:
msg += f'Streaming :\n\n✨ Title : {x["title"]}\nDuration : {x["dur"]}\nBy : {x["by"]}\n\n'
msg += f'စတင်နေသည် :\n\n✨ ခေါင်းစဉ် : {x["title"]}\nကြာချိန် : {x["dur"]}\nBy : {x["by"]}\n\n'
elif j == 2:
msg += f'Queued :\n\n✨ Title : {x["title"]}\nDuration : {x["dur"]}\nBy : {x["by"]}\n\n'
msg += f'ဆက်ဖွင့်မည်။ :\n\n✨ ခေါင်းစဉ် : {x["title"]}\nကြာချိန် : {x["dur"]}\nBy : {x["by"]}\n\n'
else:
msg += f'✨ Title : {x["title"]}\nDuration : {x["dur"]}\nBy : {x["by"]}\n\n'
msg += f'✨ ခေါင်းစဉ် : {x["title"]}\nကြာချိန် : {x["dur"]}\nBy : {x["by"]}\n\n'
if "Queued" in msg:
if len(msg) < 700:
await asyncio.sleep(1)
Expand Down
2 changes: 1 addition & 1 deletion DeadlineTech/utils/inline/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def start_panel(_):

def private_panel(_):
buttons = [
[InlineKeyboardButton(text=_["S_B_6"], web_app=WebAppInfo(url="https://deadlinetech.site"))],
[InlineKeyboardButton(text=_["S_B_6"], web_app=WebAppInfo(url="https://telegra.ph/BSH-MUSIC-BOT-%E1%80%A1%E1%80%9E%E1%80%95%E1%80%94%E1%80%8A-05-30"))],
[
InlineKeyboardButton(text=_["S_B_5"], user_id=config.OWNER_ID),
InlineKeyboardButton(text=_["S_B_7"], url=config.SUPPORT_CHANNEL),
Expand Down
12 changes: 6 additions & 6 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
LOGGER_ID = int(getenv("LOGGER_ID", None))

# Get this value from @Harry_RoxBot on Telegram by /id
OWNER_ID = int(getenv("OWNER_ID", 6848223695))
OWNER_ID = int(getenv("OWNER_ID", 22444619))

## Fill these variables if you're deploying on heroku.
# Your heroku app name
Expand All @@ -39,15 +39,15 @@

UPSTREAM_REPO = getenv(
"UPSTREAM_REPO",
"https://github.com/DeadlineTech/music",
"https://github.com/naynay11122211/MS",
)
UPSTREAM_BRANCH = getenv("UPSTREAM_BRANCH", "master")
GIT_TOKEN = getenv(
"GIT_TOKEN", None
) # Fill this variable if your upstream repository is private

SUPPORT_CHANNEL = getenv("SUPPORT_CHANNEL", "https://t.me/DeadlineTechTeam")
SUPPORT_CHAT = getenv("SUPPORT_CHAT", "https://t.me/DeadlineTechsupport")
SUPPORT_CHANNEL = getenv("SUPPORT_CHANNEL", "https://t.me/lifewithmusic4")
SUPPORT_CHAT = getenv("SUPPORT_CHAT", "https://t.me/BSHmusic12")


# Get this credentials from https://developer.spotify.com/dashboard
Expand Down Expand Up @@ -89,8 +89,8 @@
)
PLAYLIST_IMG_URL = "https://telegra.ph/file/1927a41b14896327ca2ea-662f7988e42d3d7ec5.jpg"
STATS_IMG_URL = "https://telegra.ph/file/1557a544d9b4f051f99c7-57891fa1d7578f5b79.jpg"
TELEGRAM_AUDIO_URL = "https://files.catbox.moe/1xn73k.jpg"
TELEGRAM_VIDEO_URL = "https://files.catbox.moe/1xn73k.jpg"
TELEGRAM_AUDIO_URL = "https://t.me/yukibeat/23"
TELEGRAM_VIDEO_URL = "https://t.me/yukibeat/23"
STREAM_IMG_URL = "https://envs.sh/SnH.jpg"
SOUNCLOUD_IMG_URL = "https://files.catbox.moe/1xn73k.jpg"
YOUTUBE_IMG_URL = "https://files.catbox.moe/1xn73k.jpg"
Expand Down
14 changes: 3 additions & 11 deletions strings/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,9 @@
"""

HELP_3 = """
<u><b>To create a clone:</b></u>
1. Open @BotFather.
2. Initiate a chat with @BotFather and type /newbot.
3. Choose a name for your clone.
4. Select a username for your clone.
5. Copy the API token provided by @BotFather.
6. Send the API token to @HarryxRobot via private message using /clone [apitokenhere]. Ensure to remove '[ ]'.
7. You're all set!
<u>ᴇxᴀᴍᴘʟᴇ:</u>
<code>/clone your bot token</code>
𝗢𝗳𝗳𝗶𝗰𝗶𝗮𝗹 𝗗𝗲𝗺𝗼 𝗕𝗼𝘁 🎶 - @TuhiMusicBot
<u><b>For ADS:</b></u>
1. Contact @sta2002
𝗢𝗳𝗳𝗶𝗰𝗶𝗮𝗹 𝗗𝗲𝗺𝗼 𝗕𝗼𝘁 🎶 - @BSHMUSICBOT
"""

HELP_4 = """<u><b>ᴄʜᴀᴛ ʙʟᴀᴄᴋʟɪsᴛ ғᴇᴀᴛᴜʀᴇ :</b></u> [ᴏɴʟʏ ғᴏʀ sᴜᴅᴏᴇʀs]
Expand Down
Loading