A stable and Fast telegram video convertor bot which can encode into different libs and resolution, compress videos, convert video into audio and other video formats, rename with thumbnail support, generate screenshot and trim videos.
Main branch
- For personal use
Public branch
- For your channel
Telegran Channel
- DroneBots
To use it for your channel,Has forcesub, Database, LOG channel and ACCESS channel(To spy users).
Variables required are:
API_ID
API_HASH
BOT_TOKEN
LOG_CHANNEL
- Log channel username
LOG_ID
- Log channel id
[Should be Public]
ACCESS_CHANNEL
- Input access channel/group id
[SHOULD BE PRIVATE GROUP
]
FORCESUB
- Channel/group id
to which u want user be forced to subscribe.
MONGODB_URI
AUTH_USERS
- Bot owner UserId
.
FORCESUB_UN
- Username of your forcesub channel.
BOT_UN
- Username of yout Bot.
HEROKU_API
- Your heroku api, you can get it from heroku account settings(optional, add only if you want to restart directly from tg.)
HEROKU_APP_NAME
- Your heroku app name(optional, add only if you want to restart directly from tg.)
AUTH_USERS COMMANDS:
/disallow <id>
: to ban/allow <id>
: to unban/users
: count total users/msg <id>
: give this command replying to a message/bcast
: Reply to any kind of message to broadcast itmenu
>> settings
>> restart
Deploy your own bot on heroku
Warning
- There are two different branches available, go to main branch if you need bot for your personal
needs.
Fork and Click on Deploy in your fork
Alternate way:
If you are facing any problem while deploying through heroku button, just fork and deploy manually by creating a new app in heroku. Add these buildpacks if deploying manually:
https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git
heroku/python
Deploy your bot on Okteto
LICENSE: