A Telegram Repo For Bots Under Maintenance
Requests »
Report a Bug
|
Request Feature
Table of Contents
This Bot Is For Developers, If Your Bot Is Down, Use This Repo To Give Your Dear Subscribers Some Support By Providing Them Response.
Either you could locally host or 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.
git clone https://github.com/HeimanPictures/Maintainance-Bot
cd Maintainance-Bot
virtualenv -p /usr/bin/python3 venv
. ./venv/bin/activate
pip install -r requirements.txt
python3 -m plugins
and to stop the whole bot, do CTRL+C
If you're on Heroku, just add these in the Environmental Variables
or if you're Locally hosting, create a file named .env
in the root directory and add all the variables there.
An example of .env
file:
APP_ID=123456
API_HASH=esx576f8738x883f3sfzx83
BOT_TOKEN=12345678:yourtbottokenhere
UPDATE_CHANNEL=https://t.me/HeimanSupports
SUPPORT_GROUP=https://t.me/HeimanSupport
AUTH_USERS=your_user_id
MAINTAINANCE_TEXT=your-text
WEBHOOK=ANYTHING (Keep It Default)
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 Link
SUPPORT_GROUP
: Your Telegram Support Group Link
AUTH_USERS
: The ID of the Owner or Maintainer
/start
: To check if the bot is alive or not.
Check This Click Here
- Added Broadcast Feature!
- Made Better Bin Channel Logging!
- Logo By poppit
- Heiman Creation
Copyright (C) 2021 HeimanPictures
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.