Skip to content

Romeybrar12 patch 2 #20

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

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
10 changes: 5 additions & 5 deletions plugins/josprojects/memes.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ async def aesthetic(client, message):
text = "".join(aesthetify(text))
await status_message.edit(text)

# DART------------ https://telegram.me/Josprojects ------------ #
# DART------------ https://telegram.me/moviehtv ------------ #

# EMOJI CONSTANTS
DART_E_MOJI = "🎯"
Expand All @@ -43,7 +43,7 @@ async def throw_dart(client, message):
reply_to_message_id=rep_mesg_id
)

# DICE------------ https://telegram.me/Josprojects ------------ #
# DICE------------ https://telegram.me/moviehtv ------------ #

# EMOJI CONSTANTS
DICE_E_MOJI = "🎲"
Expand All @@ -65,7 +65,7 @@ async def roll_dice(client, message):
reply_to_message_id=rep_mesg_id
)

# LUCK------------ https://telegram.me/Josprojects ------------ #
# LUCK------------ https://telegram.me/moviehtv ------------ #

# EMOJI CONSTANTS
TRY_YOUR_LUCK = "🎰"
Expand All @@ -86,7 +86,7 @@ async def luck_cownd(client, message):
reply_to_message_id=rep_mesg_id
)

# GOAL------------ https://telegram.me/Josprojects ------------ #
# GOAL------------ https://telegram.me/moviehtv ------------ #

# EMOJI CONSTANTS
GOAL_E_MOJI = "⚽"
Expand All @@ -107,7 +107,7 @@ async def roll_dice(client, message):
reply_to_message_id=rep_mesg_id
)

# RUNS------------ https://telegram.me/Josprojects ------------ #
# RUNS------------ https://telegram.me/moviehtv ------------ #

import random

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