3 |
6 | [](https://github.com/vivek2k6/Maintain-Bot)
7 | [](https://telegram.dog/Vivek2K6)
8 | [](https://telegram.dog/DevsChats)
9 |
10 |
11 | A Telegram Repo For Devs To Controll The Bots Under Maintenance
12 |
13 |
14 | ### About This Bot
15 |
16 | This Bot Is For Developers, If Your Bot Is In Pending Update/ Other Issues, Use This Repo To Give Your Dear Subscribers Some Support By Providing Them Response.
17 |
18 | ### How To Use The Bot
19 |
20 | `Any Command Or Text` : To check if the bot is alive or not.
21 |
22 | ### Todos
23 |
24 | - [x] Contributions
25 | - [ ] BroadCast Feature
26 | - [x] Smooth Messages
27 |
28 | ## Getting Started On VPS
29 |
30 | 1. Clone the Repo
31 | ```
32 | git clone https://github.com/vivek2k6/Maintain-Bot
33 | ```
34 | 2. Create ```Config.py``` File And Add Values With your Details
35 |
36 | 3. Deploy It
37 |
38 | ### How to make your own
39 |
40 | Deploy your own Bot ♥️! **Star 🌟 Fork 🍴 and Deploy**
41 |
42 | ### Deploy on Heroku
43 |
44 | Press the below button to Fast deploy on Heroku
45 |
46 | [](https://heroku.com/deploy?template=https://github.com/vivek2k6/Maintain-Bot)
47 |
48 | Then goto the variables tab for more info on setting up environmental variables.
49 |
50 |
51 | ### Contributing
52 |
53 | 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**.
54 |
55 | 1. Fork the Project
56 | 2. Add Your Values
57 | 3. Deploy It
58 |
59 | ### Vars
60 |
61 | `APP_ID` : Goto [my.telegram.org](https://my.telegram.org) to obtain this.
62 |
63 | `API_HASH` : Goto [my.telegram.org](https://my.telegram.org) to obtain this.
64 |
65 | `BOT_NAME` : Your Bot's Name.
66 |
67 | `BOT_TOKEN` : Get the bot token from [@BotFather](https://telegram.dog/BotFather)
68 |
69 | `UPDATE_CHANNEL` : Your Telegram Channel Username Without @
70 |
71 | `SUPPORT_CHAT` : Your Telegram Support Group Username Without @
72 |
73 | ### License
74 |
75 | Distributed under the GNU GPLV3 License. See `LICENSE` for more information.
76 |
77 | [](https://github.com/Vivek-TP/Maintain-Bot)
78 |
79 | ### Developers & Helpers
80 |
81 | This is developed by [Vivek](https://gitHub.com/Vivek-TP).
82 |
83 | And [Fayas](https://github.com/FayasNoushad), [AlenPaulVarghese](https://github.com/alenpaul2001), [RabbitFored](https://github.com/RabbitFored) & [Bot](https://github.com/XDToolsBot) As Helpers.
84 |
--------------------------------------------------------------------------------
/app.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Mainten Bot",
3 | "description": "A Telegram Repo For Devs To Controll The Bots Are Under Maintenance",
4 | "logo": "https://telegra.ph/file/f854d5d729d3166d0c89e.jpg",
5 | "repository": "https://github.com/vivek-tp/Maintain-Bot",
6 | "keywords": [
7 | "telegram",
8 | "pyrogram",
9 | "maintenance",
10 | "bot"
11 | ],
12 | "env": {
13 | "BOT_TOKEN": {
14 | "description": "Your Bot token from @Botfather"
15 | },
16 | "UPDATES_CHANNEL": {
17 | "description": "Updates Channel Username Without @"
18 | },
19 | "SUPPORT_CHAT": {
20 | "description": "Support Chat Username Without @"
21 | },
22 | "BOT_NAME": {
23 | "description": "Your Bot's Name"
24 | },
25 | "API_ID": {
26 | "description": "Your API_ID from https://my.telegram.org/apps"
27 | },
28 | "API_HASH": {
29 | "description": "Your API_HASH from https://my.telegram.org/apps"
30 | }
31 | },
32 | "buildpacks": [
33 | {
34 | "url": "heroku/python"
35 | }
36 | ]
37 | }
38 |
--------------------------------------------------------------------------------
/bot.py:
--------------------------------------------------------------------------------
1 | """
2 | Maintain, Telegram Maintain Bot
3 |
4 | Copyright (C) 2021 Vivek-TP