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

start.py #1

Open
wants to merge 6 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
4 changes: 2 additions & 2 deletions MyTestBotZ/plugins/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
async def start(client, message):
# return
joinButton = InlineKeyboardMarkup([
[InlineKeyboardButton("Channel", url="https://t.me/MyTestBotz"), InlineKeyboardButton("Creator", url="https://telegram.me/OO7ROBot") ],
[InlineKeyboardButton("Channel", url="https://t.me/MyTestBotz"), InlineKeyboardButton("Creator", url="https://telegram.me/Moviezbarn") ],
[InlineKeyboardButton(
"🍿 Source Code 🍿", url="https://github.com/")]
])
welcomed = f"""Hey <b>{message.from_user.first_name}</b>\nA Simple YouTube Downloader Bot that can:
➠ Download YouTube videos
➠ Download audio from YouTube videos \n\n Made with ♥️ by @MyTestBotZ"""
➠ Download audio from YouTube videos \n\n Made with ♥️ by @moviezbarn"""
await message.reply_text(welcomed, reply_markup=joinButton)
raise StopPropagation
2 changes: 1 addition & 1 deletion MyTestBotZ/plugins/youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ async def ytdl(bot, message):
except Exception as e:
print(e)
try:
thumbnail_url = "https://telegra.ph/file/ce37f8203e1903feed544.png"
thumbnail_url = "https://telegra.ph/file/74981aa181ecebc193f9f.jpg"
await message.reply_photo(thumbnail_url, caption=title, reply_markup=buttons)
except Exception as e:
await sentm.edit(
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#

<p align="left">
<a href="https://github.com/OO7ROBOT/YouTubeDownloaderBot/stargazers"><img alt="github" src="https://img.shields.io/github/stars/OO7ROBOT/YouTubeDownloaderBot?style=flat-square&color=yellow"/></a>
<a href="https://github.com/OO7ROBOT/YouTubeDownloaderBot/fork"><img alt="github" src="https://img.shields.io/github/forks/OO7ROBOT/YouTubeDownloaderBot?style=flat-square&color=orange"/></a>
<a href="https://github.com/royfds/Youtube-Downloader-Bot/stargazers"><img alt="github" src="https://img.shields.io/github/stars/OO7ROBOT/YouTubeDownloaderBot?style=flat-square&color=yellow"/></a>
<a href="https://github.com/royfds/Youtube-Downloader-Bot/fork"><img alt="github" src="https://img.shields.io/github/forks/OO7ROBOT/YouTubeDownloaderBot?style=flat-square&color=orange"/></a>
<a href="https://github.com/OO7ROBot/YouTubeDownloaderBot/stargazers">
<img src="https://img.shields.io/github/stars/OO7ROBot/YouTubeDownloaderBot?style=social">
</a>
Expand Down Expand Up @@ -49,7 +49,7 @@

Press the below button to deploy on Heroku <br>

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/OO7ROBOT/YoutubeDownloaderBot)
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/royfds/Youtube-Downloader-Bot/tree/patch-11)


</details>
Expand All @@ -61,12 +61,12 @@ Press the below button to deploy on Heroku <br>

* Join MyTestBotZ Channel

<a href="https://telegram.me/MyTestBotZ"><img src="https://img.shields.io/badge/Telegram-Join%20Telegram%20Channel-blue.svg?logo=telegram"></a>
<a href="https://telegram.me/Moviezbarn"><img src="https://img.shields.io/badge/Telegram-Join%20Telegram%20Channel-blue.svg?logo=telegram"></a>

### Follow on:

<p align="left">
<a href="https://github.com/OO7ROBot"><img src="https://img.shields.io/badge/GitHub-Follow%20on%20GitHub-inactive.svg?logo=github"></a>
<a href="https://github.com/Royfds"><img src="https://img.shields.io/badge/GitHub-Follow%20on%20GitHub-inactive.svg?logo=github"></a>
</p>

## Credit & Thanks ❤️
Expand Down
4 changes: 2 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"keywords": [
"Youtube","YoutubeDownloader"
],
"repository": "https://github.com/OO7ROBOT/YoutubeDownloaderBot",
"repository": "https://github.com/royfds/Youtube-Downloader-Bot",
"success_url": "https://t.me/tg_utubebot",
"website": "https://github.com/OO7ROBot/YoutubeDownloaderBot",
"website": "https://github.com/royfds/Youtube-Downloader-Bot",
"env": {
"API_ID": {"description": "Get this value from https://my.telegram.org", "required": true},
"API_HASH": {"description": "Get this value from https://my.telegram.org" , "required": true},
Expand Down
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python3 -m MyTestBotZ
python3 -m Moviezbarn