Deploy to VPS
-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
From d666cb0c52b2ba24ec1590ecf84f181254420f64 Mon Sep 17 00:00:00 2001
From: Romeybrar12 <106407653+Romeybrar12@users.noreply.github.com>
Date: Mon, 6 Jun 2022 23:37:05 +0530
Subject: [PATCH 4/6] Update script.py
---
script.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/script.py b/script.py
index c918c50f..e6772e13 100644
--- a/script.py
+++ b/script.py
@@ -21,7 +21,7 @@ class Script(object):
SOURCE_TXT = """Source:
IMDb is a Open source project.
-Source: GitHub - Click here 👈
+Source: GitHub - Click here 👈
DEVS:
- htv admin
From d1df09b9eaffe233e4ea70cd2e049563a1c33b36 Mon Sep 17 00:00:00 2001
From: Romeybrar12 <106407653+Romeybrar12@users.noreply.github.com>
Date: Tue, 7 Jun 2022 00:47:39 +0530
Subject: [PATCH 5/6] Update commands.py
---
plugins/commands.py | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index b04e1f8e..575d6b6c 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -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"),
@@ -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')
]]
@@ -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')
]]
@@ -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(
@@ -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,
From b3f41bb903b8b0f25296d352f1b86aad891188d3 Mon Sep 17 00:00:00 2001
From: Romeybrar12 <106407653+Romeybrar12@users.noreply.github.com>
Date: Tue, 7 Jun 2022 01:24:19 +0530
Subject: [PATCH 6/6] Update pm_filter.py
---
plugins/pm_filter.py | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index 5e9bf455..7baf6ab6 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -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, [
@@ -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')
]
]
@@ -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()
@@ -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')
]]
@@ -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(
@@ -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')
@@ -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