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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ You can deploy this bot anywhere.
<details><summary>Deploy to VPS</summary>
<p>
<pre>
git clone https://github.com/josprojects/tgmoviebot
git clone https://github.com/Romeybrar12/tgmoviebot
# Install Packages
pip3 install -r requirements.txt
Edit info.py with variables as given below then run bot
Expand Down
18 changes: 9 additions & 9 deletions plugins/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async def start(client, message):
if message.chat.type in ['group', 'supergroup']:
buttons = [
[
InlineKeyboardButton('⭕️ Updates ⭕️', url='https://t.me/josprojects')
InlineKeyboardButton('⭕️ Updates ⭕️', url='https://t.me/moviehtv')
],
[
InlineKeyboardButton('🛠️ Help', url=f"https://t.me/{temp.U_NAME}?start=help"),
Expand All @@ -50,8 +50,8 @@ async def start(client, message):
],[
InlineKeyboardButton('🕵️ Search here Movie 🕵️', switch_inline_query_current_chat='')
],[
InlineKeyboardButton('⭕️ Updates', url='https://t.me/josprojects'),
InlineKeyboardButton('Movie Club ⭕️', url='https://t.me/+y53tWFUw6Q43NzE9')
InlineKeyboardButton('⭕️ Updates', url='https://t.me/moviehtv'),
InlineKeyboardButton('Movie Htv ⭕️', url='https://t.me/+5ksuz6D44fVhN2Ix')
],[
InlineKeyboardButton('❌ Close the Menu ❌', callback_data='close_data')
]]
Expand Down Expand Up @@ -98,8 +98,8 @@ async def start(client, message):
],[
InlineKeyboardButton('🕵️ Search here Movie 🕵️', switch_inline_query_current_chat='')
],[
InlineKeyboardButton('⭕️ Updates', url='https://t.me/josprojects'),
InlineKeyboardButton('Movie Club ⭕️', url='https://t.me/+y53tWFUw6Q43NzE9')
InlineKeyboardButton('⭕️ Updates', url='https://t.me/moviehtv'),
InlineKeyboardButton('Movie Club ⭕️', url='https://t.me/+5ksuz6D44fVhN2Ix')
],[
InlineKeyboardButton('❌ Close the Menu ❌', callback_data='close_data')
]]
Expand Down Expand Up @@ -250,11 +250,11 @@ async def start(client, message):
f_caption = f"{files.file_name}"
buttons = [
[
InlineKeyboardButton('⭕️ Support', url='https://t.me/JOSPSupport'),
InlineKeyboardButton('Channel ⭕️', url='https://t.me/josprojects/221')
InlineKeyboardButton('⭕️ Support', url='https://t.me/moviehtv'),
InlineKeyboardButton('Channel ⭕️', url='https://t.me/moviehtv')
],
[
InlineKeyboardButton('🎬 Series & Movie Club 🎬', url=f'https://t.me/+y53tWFUw6Q43NzE9')
InlineKeyboardButton('🎬 Series & Movie Htv 🎬', url=f'https://t.me/+5ksuz6D44fVhN2Ix')
]
]
await client.send_cached_media(
Expand Down Expand Up @@ -340,7 +340,7 @@ async def delete(bot, message):
if result.deleted_count:
await msg.edit('File is successfully deleted from database')
else:
# files indexed before https://github.com/EvamariaTG/EvaMaria/commit/f3d2a1bcb155faf44178e5d7a685a1b533e714bf#diff-86b613edf1748372103e94cacff3b578b36b698ef9c16817bb98fe9ef22fb669R39
# files indexed before https://github.com/romeybrar12/EvaMaria/commit/f3d2a1bcb155faf44178e5d7a685a1b533e714bf#diff-86b613edf1748372103e94cacff3b578b36b698ef9c16817bb98fe9ef22fb669R39
# have original file name.
result = await Media.collection.delete_many({
'file_name': media.file_name,
Expand Down
30 changes: 15 additions & 15 deletions plugins/pm_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ async def next_page(bot, query):
)
btn.insert(0,
[
InlineKeyboardButton("⭕️ Movie", url="https://t.me/+26XbUS8O3cM1MDU1"),
InlineKeyboardButton("Series ⭕️", url="https://t.me/+VWYQKLaIim4yNjk1")
InlineKeyboardButton("⭕️ Movie", url="https://t.me/+5ksuz6D44fVhN2Ix"),
InlineKeyboardButton("Series ⭕️", url="https://t.me/+5ksuz6D44fVhN2Ix")
])

btn.insert(0, [
Expand Down Expand Up @@ -382,11 +382,11 @@ async def cb_handler(client: Client, query: CallbackQuery):
f_caption = f"{files.file_name}"
buttons = [
[
InlineKeyboardButton('⭕️ Support', url='https://t.me/JOSPSupport'),
InlineKeyboardButton('Channel ⭕️', url='https://t.me/JosProjects')
InlineKeyboardButton('⭕️ Support', url='https://t.me/moviehtv'),
InlineKeyboardButton('Channel ⭕️', url='https://t.me/moviehtv')
],
[
InlineKeyboardButton('🎬 Series & Movie Club 🎬', url=f'https://t.me/+y53tWFUw6Q43NzE9')
InlineKeyboardButton('🎬 Series & Movie Club 🎬', url=f'https://t.me/+5ksuz6D44fVhN2Ix')
]
]

Expand Down Expand Up @@ -436,11 +436,11 @@ async def cb_handler(client: Client, query: CallbackQuery):
f_caption = f"{title}"
buttons = [
[
InlineKeyboardButton('⭕️ Support', url='https://t.me/JOSPSupport'),
InlineKeyboardButton('Channel ⭕️', url='https://t.me/JosProjects')
InlineKeyboardButton('⭕️ Support', url='https://t.me/movieshtv'),
InlineKeyboardButton('Channel ⭕️', url='https://t.me/moviehtv')
],
[
InlineKeyboardButton('🎬 Series & Movie Club 🎬', url=f'https://t.me/+y53tWFUw6Q43NzE9')
InlineKeyboardButton('🎬 Series & Movie Club 🎬', url=f'https://t.me/+5ksuz6D44fVhN2Ix')
]
]
await query.answer()
Expand All @@ -462,8 +462,8 @@ async def cb_handler(client: Client, query: CallbackQuery):
],[
InlineKeyboardButton('🕵️ Search here Movie 🕵️', switch_inline_query_current_chat='')
],[
InlineKeyboardButton('⭕️ Updates', url='https://t.me/josprojects'),
InlineKeyboardButton('Movie Club ⭕️', url='https://t.me/+y53tWFUw6Q43NzE9')
InlineKeyboardButton('⭕️ Updates', url='https://t.me/moviehtv'),
InlineKeyboardButton('Movie Club ⭕️', url='https://t.me/+5ksuz6D44fVhN2Ix')
],[
InlineKeyboardButton('❌ Close the Menu ❌', callback_data='close_data')
]]
Expand Down Expand Up @@ -503,7 +503,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
],[
InlineKeyboardButton('Zombies', callback_data='zombies'),
InlineKeyboardButton('« Back', callback_data='start'),
InlineKeyboardButton('Adult Bot 🔞', url='https://t.me/AdultSearchXBot')
InlineKeyboardButton('hd Bot 🔞', url='https://t.me/movieshtv')
]]
reply_markup = InlineKeyboardMarkup(buttons)
await query.message.edit_text(
Expand All @@ -513,7 +513,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
)
elif query.data == "about":
buttons = [[
InlineKeyboardButton('⭕ Status', url='https://t.me/josprojects/221'),
InlineKeyboardButton('⭕ Status', url='https://t.me/movieshtv'),
InlineKeyboardButton('Source 🪤', callback_data='source')
],[
InlineKeyboardButton('❓ How to Use ❓', callback_data='help')
Expand Down Expand Up @@ -938,11 +938,11 @@ async def auto_filter(client, msg, spoll=False):
)

btn.insert(0, [
InlineKeyboardButton("⭕️ Movie", url="https://t.me/+26XbUS8O3cM1MDU1"),
InlineKeyboardButton("Series ⭕️", url="https://t.me/+VWYQKLaIim4yNjk1")
InlineKeyboardButton("⭕️ Movie", url="https://t.me/+5ksuz6D44fVhN2Ix"),
InlineKeyboardButton("Series ⭕️", url="https://t.me/+5ksuz6D44fVhN2Ix")
])
btn.insert(0, [
InlineKeyboardButton("⭕️ Join Our Channel ⭕️",url="https://t.me/imdbprobots/4")
InlineKeyboardButton("⭕️ Join Our Channel ⭕️",url="https://t.me/moviehtv")
])
reply_id = message.reply_to_message.message_id if message.reply_to_message else message.message_id
imdb = await get_poster(search, file=(files[0]).file_name) if settings["imdb"] else None
Expand Down
12 changes: 6 additions & 6 deletions script.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class Script(object):
START_TXT = """Hello {},
START_TXT = """Hello HTV LOVER {},

My name is <a href=https://t.me/{}>{}</a>!

Expand All @@ -12,7 +12,7 @@ class Script(object):
<b>Here Is The Help For My Commands.</b>"""

ABOUT_TXT = """<b>➥ My name: {}
➥ Creator: <a href='https://t.me/zautekm'>Zaute Km</a>
➥ Creator: <a href='https://t.me/htv_admin'>htv_admin</a>
➥ Library: <a href='https://docs.pyrogram.org/'>Pyrogram</a>
➥ Language: Python 𝟹
➥ Data Base: <a href='https://www.mongodb.com/'>MongoDB</a>
Expand All @@ -21,13 +21,13 @@ class Script(object):

SOURCE_TXT = """<b>Source:</b>
IMDb is a Open source project.
Source: <a href='https://github.com/josprojects/tgmoviebot'>GitHub - Click here 👈</a>
Source: <a href='https://github.com/Romeybrar12/tgmoviebot'>GitHub - Click here 👈</a>

<b>DEVS:</b>
- <a href='https://t.me/josprojects'>Jos Projects</a>
- <a href='https://t.me/htv_admin'>htv admin</a>

<b>SUPPORT GROUP</b>
- <a href='https://t.me/+y53tWFUw6Q43NzE9'>Jos Movie Club</a>"""
- <a href='https://t.me/+hpNmC7UlYgg4Yzgx'>Htv Movie </a>"""

MANUALFILTER_TXT = """Help: <b>Filters</b>

Expand All @@ -54,7 +54,7 @@ class Script(object):
3. Buttons should be properly parsed as markdown format.

<b>URL buttons:</b>
<code>[Button Text](buttonurl:https://t.me/josprojects)</code>
<code>[Button Text](buttonurl:https://t.me/htv_admin)</code>

<b>Alert buttons:</b>
<code>[Button Text](buttonalert:This is an alert message)</code>"""
Expand Down
2 changes: 1 addition & 1 deletion utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async def is_subscribed(bot, query):

async def get_poster(query, bulk=False, id=False, file=None):
if not id:
# https://t.me/GetTGLink/4183
# https://t.me/+hpNmC7UlYgg4Yzgx
query = (query.strip()).lower()
title = query
year = re.findall(r'[1-2]\d{3}$', query, re.IGNORECASE)
Expand Down