Maintenance Bot
A Telegram Repo For Devs To Controll The Bots Under Maintenance
About This Bot
This Bot Is For Developers, If Your Bot Is Down, Use This Repo To Give Your Dear Subscribers Some Support By Providing Them Response.
How To Use The Bot
Any Command Or Text
: To check if the bot is alive or not.
Features : To Be Added
- Added Broadcast Feature!!!
One Time Deploy
Deploy Your Bot Repo + This Repo At One Time.
If Your Bot Under Maintenance Enable Other ProcFile...Got it? Know More Here 👇🏻...
1. Download A File From Here .
2. Upload `maintain.py File To Your Repo.
3. Add Two Vaules On app.json as UPDATES_CHANNEL
And SUPPORT_CHAT
.
4. Open Procfile And worker: python3 maintain.py IN Second Line.
5. Done!!!
An Example Repo : HERE
If you do not understand Contact Support Group
Getting Started On VPS
- Clone the Repo
git clone https://github.com/vivek-tp/Maintain-Bot
- Replace Values with your Details
APP_ID - Get from My.Telegram.Org
API_HASH - Get from My.Telegram.Org
BOT_TOKEN - From @BotFather
UPDATE_CHANNEL - Your Channel Username Without @
SUPPORT_CHAT - Your Support Chat Username Without @
- Deploy It
How to make your own
Either you could locally host or deploy on Heroku
Deploy on Heroku
Press the below button to Fast deploy on Heroku
Then goto the variables tab for more info on setting up environmental variables.
Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Add Your Values
- Deploy It
Vars
APP_ID
: Goto my.telegram.org to obtain this.
API_HASH
: Goto my.telegram.org to obtain this.
BOT_TOKEN
: Get the bot token from @BotFather
UPDATE_CHANNEL
: Your Telegram Channel Username Without @
SUPPORT_CHAT
: Your Telegram Support Group Username Without @
License
Distributed under the GNU GPLV3 License. See LICENSE
for more information.