Giter VIP home page Giter VIP logo

madboy482 / madboi Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 1.88 MB

An exclusive Group Moderator Bot.... Can be found as @Romeov3Bot on Telegram, or https://telegram.me/Romeov3Bot.

License: GNU General Public License v3.0

Batchfile 0.07% Shell 0.01% Dockerfile 0.05% Python 99.88% Procfile 0.01%
telegram-bot telegram-api python3 telethon telethon-bot telethon-based pyrogram pyrogram-bot telethon-userbot pyrogram-userbot

madboi's Introduction

# Romeo-3.0 # (Romeov3) # (MadBoi)

An exclusive Group Moderator Bot....

Can be found as @Romeov3Bot on Telegram, or ROMEO-3.0.

Romeov3

- x -|│ “ Superb Group Moderator... ” │| - x -

<

ROMEO-3.0 IS A SUPERB GROUP MODERATOR BOT FOR TELEGRAM GROUPS, IT HELPS ADMINS/OWNERS TO MANAGE THEIR GROUPS EASILY.....

- NOW WITH FORCE-SUBSCRIBE CODE ✅

- INLINE ALIVE ✅

- PLUGIN INSTALLER AND UPDATER (Tho for DEVs only...) ✅

- INLINE YOUTUBE SEARCH ✅

ABOUT

  • Bot Link:

  • Updates channel:

  • Should you be forking this repo then do not forget to star it - GitHub Repo stars

# Steps to deploy on Heroku!!
Fill in all the details, Deploy!
Now go to https://dashboard.heroku.com/apps/(app-name)/resources ( Replace (app-name) with your app name )
REMEMBER: Turn on worker dyno (Don't worry It's free :D) & Webhook
Now send the bot /start, If it doesn't respond go to https://dashboard.heroku.com/apps/(app-name)/settings and remove webhook and port.

Deploy Here

# Steps to self Host!!

Setting up the Bot (Read this before trying to use!):

Please make sure to use python3.6, as I cannot guarantee everything will work as expected on older Python versions! This is because markdown parsing is done by iterating through a dict, which is ordered by default in 3.6.

Configuration

There are two possible ways of configuring your bot: a config.py file, or ENV variables.

The preferred version is to use a config.py file, as it makes it easier to see all your settings grouped together. This file should be placed in your MadBoi folder, alongside the __main__.py file. This is where your bot token will be loaded from, as well as your database URI (if you're using a database), and most of your other settings.

It is recommended to import sample_config and extend the Config class, as this will ensure your config contains all defaults set in the sample_config, hence making it easier to upgrade.

An example for config.py file could be:

from MadBoi.sample_config import Config

class Development(Config):
    OWNER_ID = 1078841825  # your telegram ID
    OWNER_USERNAME = "Warning_MadBoy_is_Here"  # your telegram username
    API_KEY = "your bot api key"  # your api key, as provided by the @botfather
    SQLALCHEMY_DATABASE_URI = 'postgresql://username:password@localhost:5432/database'  # sample db credentials
    JOIN_LOGGER = '-1234567890' # some group chat that your bot is a member of
    USE_JOIN_LOGGER = True
    DRAGONS = [1107922726]  # List of id's for users which have sudo access to the bot.
    LOAD = []
    NO_LOAD = ['translation']

If you can't have a config.py file (Ex - on Heroku), it is also possible to use environment variables. So just go and read the config sample file.

Setup on Heroku

Deploy

Credits 📍

OWNER » or

DEV »

SPECIAL THANKS TO

madboi's People

Contributors

madboy482 avatar proboyx avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

senul-chanthuka

madboi's Issues

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.