Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kalanakt committed Aug 26, 2022
1 parent e4b3979 commit 1e7d242
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<li>Youtube, GoogleDrive, Apple Music, Spotify, Resso, & Direct Links support.</li>
<li>Bot Can upload document, video & audio types.</li>
<li>Deploy To Heroku | locally | VPS.</li>
<li>Custom thumbunli support.</li>
<li>Custom thumbnail support.</li>
</ul>
<ul>
<li>/thumb - view your custom thumbunli</li>
Expand All @@ -41,12 +41,12 @@ Complete Documentation for All-Url-Uploader Bot
| -------------------- | --------------------- | ------------------------------------------------------------------------------ |
| <a href="https://github.com/kalanakt/All-Url-Uploader/releases/tag/v1.0.0">v1.0.0</a> || ☑ Upload all ytdl links, direct links |
| <a href="https://github.com/kalanakt/All-Url-Uploader/releases/tag/v2.0.0">v2.0.0</a> || ☑ Upload all ytdl links, direct links, google drive etc. (Speed is much higher than version 1) |
| <a href="https://github.com/kalanakt/All-Url-Uploader/releases/tag/v2.0.1">v2.0.1</a> || ☑ custom thumbunali support, fixed youtube download |
| <a href="https://github.com/kalanakt/All-Url-Uploader/releases/tag/v2.0.1">v2.0.1</a> || ☑ custom thumbnail support, fixed youtube download |
<br>
<h1>🎯 To do</h1>

* [x] deploy to vps setup
* [x] custom thumbunali support
* [x] custom thumbnail support
* [ ] custom caption support
* [ ] mega.nz support
* [ ] pdisk support
Expand Down
10 changes: 5 additions & 5 deletions Uploader/thumbunali.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async def save_photo(bot, message):
await message.download(file_name=download_location)

await message.reply_text(
text="your custom thumbunali is saved",
text="your custom thumbnail is saved",
quote=True
)

Expand All @@ -48,18 +48,18 @@ async def send_photo(bot, message):
if os.path.isfile(download_location):
await message.reply_photo(
photo=download_location,
caption="your custom thumbunali",
caption="your custom thumbnail",
quote=True
)
else:
await message.reply_text(text="you don't have set thumbunali yet!. send .jpg img to save as thumbunali.", quote=True)
await message.reply_text(text="you don't have set thumbnail yet!. send .jpg img to save as thumbnail.", quote=True)


@Client.on_message(filters.command("delthumb") & filters.incoming & filters.private)
async def delete_photo(bot, message):
download_location = f"{Config.DOWNLOAD_LOCATION}/{message.from_user.id}.jpg"
if os.path.isfile(download_location):
os.remove(download_location)
await message.reply_text(text="your thumbunli removed successfully.", quote=True)
await message.reply_text(text="your thumbnail removed successfully.", quote=True)
else:
await message.reply_text(text="you don't have set thumbunali yet!. send .jpg img to save as thumbunali.", quote=True)
await message.reply_text(text="you don't have set thumbnail yet!. send .jpg img to save as thumbnail.", quote=True)
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ <h1 class="font-normal text-3xl">📚 Getting Started</h1>
<br>
<ul>
<li>✔ Highly Optimised</li>
<li>✔ Custom Thumbunli Support</li>
<li>✔ Custom thumbnail Support</li>
<li>✔ Deploy To Heroku</li>
<li>✔ Host in Locally & VPS</li>
<li>✔ Download Audios/Videos from Youtube</li>
Expand Down Expand Up @@ -386,7 +386,7 @@ <h1 class="font-normal text-3xl">📚 Getting Started</h1>
tabindex="0"
class="focus:outline-none text-base leading-2 text-gray-500 dark:text-gray-400 pt-2"
>
custom thumbunali support, fixed youtube download
custom thumbnail support, fixed youtube download
</p>
</div>
</div>
Expand Down

0 comments on commit 1e7d242

Please sign in to comment.