Skip to content

Vectorism/Userge

Repository files navigation

Userge
Pluggable Telegram UserBot
Inspiration  •  Features  •  Example  •  Requirements  •  Project Credits  •  Copyright & License

Userge

Userge is a Powerful , Pluggable Telegram UserBot written in Python using Pyrogram.

Inspiration

This project is inspired by the following projects :)

Special Thanks to all of you !!!.

Features

  • Powerful and Very Useful built-in Plugins
    • gdrive ( Team Drives Supported! )
    • zip / unzip
    • telegram upload
    • telegram download
    • etc...
  • 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

LOG = userge.getLogger(__name__)  # logger object

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

@userge.on_cmd("test", about="help text to this command")  # adding handler and help text to .test command
async def testing(message: Message):
   LOG.info("starting test command...")  # log to console

   await message.edit("testing...", del_in=5)  # this will be automatically deleted after 5 sec

   CHANNEL.log("testing completed!")  # log to channel

Requirements

  • Python 3.8 or Higher
  • Telegram API Keys
  • MongoDB Database URL
    • Step 1

      mongo help 1

    • Step 2

      mongo help 2

    • Step 3

      mongo help 3

    • Step 4

      mongo help 4

    • Step 5

      mongo help 5

    • Step 6

      mongo help 6

    • Step 7

      mongo help 7

    • Final Step

      mongo help 8

      REMEMBER the password

  • Google Drive API Keys

How To Deploy

If you are using HEROKU simply click the button below.

Deploy

TODO: add Docker Support.

Support & Discussions

Head over to the Discussion Group and Update Channel

Project Credits

Copyright & License

About

Userge, Durable as a Serge

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%