Skip to content

Commit

Permalink
[fix] Fix for Stickers plugin (TgCatUB#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy1709 authored Feb 13, 2022
1 parent 42892d8 commit 1690050
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ A simple Telegram userbot based on Telethon .

## How to deploy catuserbot
### Heroku Deploy
- [![Deploy To Heroku](https://www.herokucdn.com/deploy/button.svg)](https://github.com/Mr-confused/nekopack)
- [![Deploy To Heroku](https://www.herokucdn.com/deploy/button.svg)](https://github.com/TgCatUB/nekopack)

### Self host
- [check this](https://catuserbot.gitbook.io/catuserbot/tutorial/self-host)
Expand All @@ -31,7 +31,7 @@ A simple Telegram userbot based on Telethon .
## Inspiration
- [X-tra-Telegram](https://github.com/Dark-Princ3/X-tra-Telegram)
- [Uniborg](https://github.com/SpEcHiDe/UniBorg) & [Uniborg fork](https://github.com/ravana69/PornHub)
- [Nana-Remix](https://github.com/pokurt/Nana-Remix)
- Nana-Remix
- [Userge-X](https://github.com/code-rgb/USERGE-X/)

## Disclaimer
Expand Down
2 changes: 1 addition & 1 deletion userbot/plugins/stickers.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ async def kang(args): # sourcery no-metrics
is_anim,
stfile,
)
if os.path.exists(sticker):
if is_video and os.path.exists(sticker):
os.remove(sticker)
if otherpack is None:
return
Expand Down

0 comments on commit 1690050

Please sign in to comment.