Giter VIP home page Giter VIP logo

maintainance-bot's Introduction

Maintenance Bot

Cover Image

A Telegram Repo For Bots Under Maintenance
Requests »
Report a Bug | Request Feature


Table of Contents
  1. About this Bot
  2. How to make your own
  3. Setting up things
  4. How to use the bot
  5. To Be Added
  6. Credits

About This Bot

Telegram Logo

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 make your own

Either you could locally host or deploy on Heroku

Deploy on Heroku

Press the below button to Fast deploy on Heroku

Deploy

then goto the variables tab for more info on setting up environmental variables.

Host it on VPS or Locally

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

Setting up things

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)

Mandatory 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 Link

SUPPORT_GROUP : Your Telegram Support Group Link

AUTH_USERS : The ID of the Owner or Maintainer

How to use the bot

/start : To check if the bot is alive or not.

Check This Click Here

To Be Added:

  • Added Broadcast Feature!
  • Made Better Bin Channel Logging!

Credits

LICENSE

    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/>.

maintainance-bot's People

Contributors

akkilmg avatar fayasnoushad avatar jithin123455 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.