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
12 changes: 6 additions & 6 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@


# quicktriviav4👮
💡 This is Innexia An Advanced Telegram CHAT Bot For Best AI Experience made by aditya !! 🤖
💡 This is Innexia An Advanced Telegram CHAT Bot For Best AI Experience made by AXEL!! 🤖

![logo](https://telegra.ph/file/a2bf8c1ae3e2c247a23fa.jpg)
# 💡Dᴇᴠᴇʟᴏᴩᴇᴍᴇɴᴛ•Sᴜᴩᴩᴏʀᴛ👥[Here !](https://t.me/v4updatesdiscussion)
![logo](https://https://telegra.ph/file/63667b69b432653bd1683.jpg)
# 💡Dᴇᴠᴇʟᴏᴩᴇᴍᴇɴᴛ•Sᴜᴩᴩᴏʀᴛ👥[Here !](https://t.me/AXEL_SUPPORT)

## Me On Telegram As [💥 aditya 💥](https://t.me/aboutmeaditya)
## Me On Telegram As [💥 AXEL 💥](https://t.me/SURAJ_O_P)

## Cᴏᴍᴍᴀɴᴅs
```
->Music•Player<- by aditya
->Music•Player<- by AXEL
=>> *Song Playing* 🎧
❍ /play - play song you requested
❍ /dplay - play song you requested via deezer
Expand Down Expand Up @@ -43,6 +43,6 @@

## DEPLOY ON HEROKU 🚀

<p align="center"><a href="https://heroku.com/deploy?template=https://github.com/anglefree/quicktriviav4"><img align="center" alt="Heroku" width="52px" src="https://www.nicepng.com/png/full/223-2233246_heroku-logo-salesforce-heroku.png"></p>
<p align="center"><a href="https://heroku.com/deploy?template=https://github.com/SURAJOP7/quicktriviav4"><img align="center" alt="Heroku" width="52px" src="https://www.nicepng.com/png/full/223-2233246_heroku-logo-salesforce-heroku.png"></p>


114 changes: 46 additions & 68 deletions modules/Private.py
Original file line number Diff line number Diff line change
@@ -1,71 +1,49 @@

from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton
from pyrogram import Client, filters
import signal
import os
import sys


HOME_TEXT = "<b>Helo, [{}](tg://user?id={})\n\n• Iam A Bot Project made by @Sadlife\n# my group @quicktrivia\n• I Can Manage Group VC's\n\n• Hit /help to know about available commands.</b>"
HELP = """
🎧 <b>I Can Play Musics On VoiceChats 🤪</b>

🎶 **Common Commands**:by @Sadlife56 or aditya
• `/song` __Download Song from youtube__
• `/play` __Play song you requested__
• `/help` __Show help for commands__
• `/dplay` __Play song you requested via deezer__
• `splay` __Play song you requested via jio saavn__
• `/ytplay` __Play song directly from youtube server__
• `/search` __Search video songs links__
• `/current` __Show now playing__
• `/playlist` __Show now playing list__
• `/video` __Downloads video song quickly__
🎶 **Admin Commands**:*aditya, tushar, lucky, harsh, utkarsh, sg*
• `/player` __Open music player settings panel__
• `/pause` __Pause song play__
• `/skip` __Skip next song__
• `/resume` __Resume song play__
• `/userbotjoin` __Invites assistant to your chat__
• `/end` __Stops music play__
• `/admincache` __Refresh list of admins with vc power__
© Powered By
[ __@quicltrivia || @Sadlife56__ ]
"""



@Client.on_message(filters.command('start'))
async def start(client, message):
buttons = [
[
InlineKeyboardButton('📢 Updates', url='https://t.me/v4updates'),
InlineKeyboardButton('💬 Support', url='https://t.me/v4updatesdiscussion')
],[
InlineKeyboardButton('🤖 Developer', url='https://t.me/aboutmeaditya'),
InlineKeyboardButton('🎧 Chats', url='https://t.me/quicktrivia')
],[
InlineKeyboardButton('📜 Source Code 📜', url='https://telegra.ph/file/776826cc26ba5897a9ec2.mp4'),
]
]
reply_markup = InlineKeyboardMarkup(buttons)
await message.reply_photo(photo="https://telegra.ph/file/cd1c80751b6c75a655b1d.jpg", caption=HOME_TEXT.format(message.from_user.first_name, message.from_user.id), reply_markup=reply_markup)
await message.delete()
from pyrogram.types import Message, InlineKeyboardMarkup, InlineKeyboardButton


from helpers.filters import other_filters2


@Client.on_message(other_filters2)
async def start(_, message: Message):
await message.reply_photo("https://telegra.ph/file/5993e1a643d3986a27d9e.jpg")
await message.reply_text(
f"""**Hey, I'm AXEL 😊🎵

I can play ꬺᶙȿᶖɕ in your group's voice CHAT Developed by [Axel](https://t.me/suraj_o_p)

Add me to your group and play music freely😆!**
""",
reply_markup=InlineKeyboardMarkup(
[
[
InlineKeyboardButton(
"Oᴡɴᴇʀ", url="https://t.me/suraj_o_p")
],[
InlineKeyboardButton(
"🛡 SUPPORT GROUP 🛡", url="https://t.me/AXEL_SUPPORT"
),
],[
InlineKeyboardButton(
"ADD ME TO YOUR GROUP😉", url="https://t.me/AXEL_MUSICBOT?startgroup=true"
)]
]
),
disable_web_page_preview=True
)

@Client.on_message(filters.command("start") & ~filters.private & ~filters.channel)
async def gstart(_, message: Message):
await message.reply_text("""**AXELMUSIC BOT IS WORKING**""",
reply_markup=InlineKeyboardMarkup(
[
[
InlineKeyboardButton(
"📚 COMMANDS 📚", url="https://t.me/AXEL_SUPPPORTXD/24")
]
]
)
)


@Client.on_message(filters.command("help"))
async def show_help(client, message):
buttons = [
[
InlineKeyboardButton('📢 Updates', url='https://t.me/v4updates'),
InlineKeyboardButton('💬 Support', url='https://t.me/v4updatesdiscussion')
],[
InlineKeyboardButton('🤖 Developer', url='https://t.me/aboutmeaditya'),
InlineKeyboardButton('🎧 Chats', url='https://t.me/quicktrivia')
],[
InlineKeyboardButton('📜 Source Code 📜', url='https://telegra.ph/file/776826cc26ba5897a9ec2.mp4'),
]
]
reply_markup = InlineKeyboardMarkup(buttons)
await message.reply_photo(photo="https://telegra.ph/file/cd1c80751b6c75a655b1d.jpg", caption=HELP, reply_markup=reply_markup)
await message.delete()
12 changes: 6 additions & 6 deletions modules/admins.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async def pause(_, message: Message):
await message.reply_text("❗ Nothing is playing!")
else:
callsmusic.pytgcalls.pause_stream(chat_id)
await message.reply_text("lo beta kar diya PAUSE")
await message.reply_text("SUCCESSFULLY PAUSED ")


@Client.on_message(command("resume") & other_filters)
Expand All @@ -49,7 +49,7 @@ async def resume(_, message: Message):
await message.reply_text("abe kuch pause nahi hai ")
else:
callsmusic.pytgcalls.resume_stream(chat_id)
await message.reply_text("⏸ lo beta kar diya Resumed!")
await message.reply_text("⏸ Successfully Resumed!")


@Client.on_message(command("end") & other_filters)
Expand All @@ -58,15 +58,15 @@ async def resume(_, message: Message):
async def stop(_, message: Message):
chat_id = get_chat_id(message.chat)
if chat_id not in callsmusic.pytgcalls.active_calls:
await message.reply_text("❗ abe sun kuch nahi play ho rha toa stop kya karu")
await message.reply_text("❗NOTHING IS STREAMING HERE")
else:
try:
callsmusic.queues.clear(chat_id)
except QueueEmpty:
pass

callsmusic.pytgcalls.leave_group_call(chat_id)
await message.reply_text("❌ ok stop kar diya lakin beta mere se panga leke thik nahi kiya tune")
await message.reply_text("❌ END")


@Client.on_message(command("skip") & other_filters)
Expand All @@ -76,7 +76,7 @@ async def skip(_, message: Message):
global que
chat_id = get_chat_id(message.chat)
if chat_id not in callsmusic.pytgcalls.active_calls:
await message.reply_text("❗ abe sun kuch play nahi ho rha VC mai toa skip kya karu!")
await message.reply_text("❗ STOP STREAMING!")
else:
callsmusic.queues.task_done(chat_id)

Expand Down Expand Up @@ -105,4 +105,4 @@ async def admincache(client, message: Message):
for member in await message.chat.get_members(filter="administrators")
],
)
await message.reply_text("❇️ chal beta kar diya reload admin list ko")
await message.reply_text("❇️ RELOADED✅")
37 changes: 37 additions & 0 deletions modules/gcast.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

import asyncio

from pyrogram import Client, filters
from pyrogram.types import Message

from config import SUDO_USERS
from services.callsmusic.callsmusic import client as USER


@Client.on_message(filters.command(["broadcast"]))
async def broadcast(_, message: Message):
sent = 0
failed = 0
if message.from_user.id not in SUDO_USERS:
return
else:
wtf = await message.reply("`Starting a broadcast...`")
if not message.reply_to_message:
await wtf.edit("Please Reply to a Message to broadcast!")
return
lmao = message.reply_to_message.text
async for dialog in USER.iter_dialogs():
try:
await USER.send_message(dialog.chat.id, lmao)
sent = sent + 1
await wtf.edit(
f"`broadcasting...` \n\n**Sent to:** `{sent}` Chats \n**Failed in:** {failed} Chats"
)
await asyncio.sleep(3)
except:
failed = failed + 1
# await wtf.edit(f"`broadcasting...` \n\n**Sent to:** `{sent}` Chats \n**Failed in:** {failed} Chats")

await message.reply_text(
f"`Broadcast Finished ` \n\n**Sent to:** `{sent}` Chats \n**Failed in:** {failed} Chats"
)
Loading