Coder Social home page Coder Social logo

code-rgb / userge-x Goto Github PK

View Code? Open in Web Editor NEW
128.0 7.0 473.0 6.05 MB

USERGE-X. What the X ?

Home Page: https://del.dog/userge-x

License: GNU General Public License v3.0

Python 97.55% Shell 2.24% Dockerfile 0.21%
pyrogram heroku telegram inline userbot bot python3

userge-x's Introduction


Userge-x

USERGE-X

Pluggable Telegram UserBot

Open Source Love svg1 GPLv3 license Stars Forks Issues Open Issues Closed PR Open PR Closed Repo Size CodeFactor DeepSource Gitpod ready-to-code Docker Image

USERGE-X is a Powerful , Pluggable Telegram UserBot written in Python using Pyrogram.

Disclaimer

/**
   ⚠️Kang at your own risk⚠️          
   Your Telegram account may get banned.
   I am not responsible for any improper use of this bot
   This bot is intended for the purpose of having fun with memes,
   as well as efficiently managing groups.
   It can help you with managing yourself as well.
   You ended up spamming groups, getting reported left and right,
   and then you ended up in a Final Battle with Telegram
   and at the end the Telegram Team
   deleted your account?
   And after that, you pointed your fingers at us
   for getting your account deleted?
   We will be rolling on the floor laughing at you.
   Yes! you heard it right.
/**

Requirements

How To Deploy

  • With Heroku:

Press to Takeoff


NOTE : your can fill other vars as your need and they are optional. (settings -> reveal config vars)

  • First click The Button Above.
  • Fill API_ID, API_HASH, DATABASE_URL, LOG_CHANNEL_ID, HEROKU_APP_NAME and HEROKU_API_KEY (required)
  • Then fill Dual Mode vars : OWNER_ID, BOT_TOKEN and HU_STRING_SESSION
  • Then fill other non-required vars later
  • Finally hit deploy button

String Session

VAR -> HU_STRING_SESSION

By HEROKU

  • open your app then go to more -> run console and type bash genStr and click run.

On REPL

Read more

Details and Guides

Other Ways

  • With Docker 🐳 See Detailed Guide

  • With Git, Python and pip πŸ”§

    # clone the repo
    git clone https://github.com/code-rgb/userge-x.git
    cd userge-x
    
    # create virtualenv
    virtualenv -p /usr/bin/python3 venv
    . ./venv/bin/activate
    
    # install requirements
    pip install -r requirements.txt
    
    # Create config.env as given config.env.sample and fill that
    cp config.env.sample config.env
    
    # get string session and add it to config.env
    bash genStr
    
    # finally run the USERGE-X ;)
    bash run

Guide to Upstream Forked Repo

Upstream Forked Repo

Youtube Tutorial

Features

  • Powerful and Very Useful built-in Plugins
    • gdrive [ upload / download / etc ] ( Team Drives Supported! )
    • zip / tar / unzip / untar / unrar
    • telegram upload / download
    • pmpermit / afk
    • notes / filters
    • split / combine
    • gadmin
    • plugin manager
    • ...and more
  • Channel & Group log support
  • Database support
  • Build-in help support
  • Easy to Setup & Use
  • Easy to add / port Plugins
  • Easy to write modules with the modified client

Example Plugin

from userge import userge, Message, filters

LOG = userge.getLogger(__name__)  # logger object
CHANNEL = userge.getCLogger(__name__)  # channel logger object

# add command handler
@userge.on_cmd("test", about="help text to this command")
async def test_cmd(message: Message):
   LOG.info("starting test command...")  # log to console
   # some other stuff
   await message.edit("testing...", del_in=5)  # this will be automatically deleted after 5 sec
   # some other stuff
   await CHANNEL.log("testing completed!")  # log to channel

# add filters handler
@userge.on_filters(filters.me & filters.private)  # filter my private messages
async def test_filter(message: Message):
   LOG.info("starting filter command...")
   # some other stuff
   await message.reply(f"you typed - {message.text}", del_in=5)
   # some other stuff
   await CHANNEL.log("filter executed!")

Project Credits

Copyright & License

GNU General Public License v3.0

userge-x's People

Contributors

a092devs avatar ashwinstr avatar breakdowns avatar codacy-badger avatar code-rgb avatar cyberboysumanjay avatar deepsource-autofix[bot] avatar deepsourcebot avatar dependabot-preview[bot] avatar dependabot[bot] avatar dishapatel010 avatar gautamajay52 avatar guru-25 avatar k-e-n-w-a-y avatar krishna-singhal avatar muhammedfurkan avatar navodveduth avatar nealgosalia avatar phyco-ninja avatar rking32 avatar sourcery-ai[bot] avatar spechide avatar thewhiteharlot avatar uaudith avatar zizy97 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

userge-x's Issues

Add $Snips

Like notes but for all chats as can be seen with PPE and other similar bots.

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.