Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Romeybrar12 patch 3 #22

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
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
2 changes: 1 addition & 1 deletion plugins/broadcast.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import asyncio

@Client.on_message(filters.command("broadcast") & filters.user(ADMINS) & filters.reply)
# https://t.me/JosProjects
# https://t.me/moviehtv
async def verupikkals(bot, message):
users = await db.get_all_users()
b_msg = message.reply_to_message
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