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 channelusername -
LOG_ID- Log channelid[Should be Public] -
ACCESS_CHANNEL- Input access channel/groupid[SHOULD BE PRIVATE GROUP] -
FORCESUB- Channel/groupidto which u want user be forced to subscribe. -
MONGODB_URI -
AUTH_USERS- Bot ownerUserId. -
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.githeroku/python
Deploy your bot on Okteto
LICENSE:

