Skip to main content

A Secure and Powerful Python-Telethon Based Library For Ultroid Userbot.

Project description

py-Ultroid Library

A stable userbot base library, based on Telethon.

PyPI - Version PyPI - Downloads

Installation

pip install py-Ultroid

Usage

=> Create folders named plugins, addons, assistant and resources.
=> Add your plugins in the plugins folder and others accordingly.
=> Create a .env file with API_ID, API_HASH, SESSION, BOT_TOKEN, BOT_USERNAME, REDIS_URI, REDIS_PASSWORD & LOG_CHANNEL as mandatory environment variables. Check .env.sample for more details.
=> Run python -m pyUltroid to start the bot.

Creating plugins

To work everywhere

@ultroid_cmd(
    pattern="start",
)   
async def _(e):   
    await eor(e, "Ultroid Started")   

To work only in groups

@ultroid_cmd(
    pattern="start",
    groups_only=True,
)   
async def _(e):   
    await eor(e, "Ultroid Started")   

Assistant Plugins 👇

@asst_cmd("start")   
async def _(e):   
    await e.reply("Ultroid Started")   

Made with 💕 by @TeamUltroid.

Credits

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py-Ultroid-49.6b0.tar.gz (64.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_Ultroid-49.6b0-py3-none-any.whl (82.3 kB view details)

Uploaded Python 3

File details

Details for the file py-Ultroid-49.6b0.tar.gz.

File metadata

  • Download URL: py-Ultroid-49.6b0.tar.gz
  • Upload date:
  • Size: 64.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for py-Ultroid-49.6b0.tar.gz
Algorithm Hash digest
SHA256 d4083817a126ded09a85069cc2c307b9fc8774b4d5cc730fbfbdd755be51eb6e
MD5 959f5ee0b9eea364036556abeb9f2f98
BLAKE2b-256 18da0262a1261a255b0542e2e3cd8e18fefe40943a94ec9d73eb968b4bf7ad4a

See more details on using hashes here.

File details

Details for the file py_Ultroid-49.6b0-py3-none-any.whl.

File metadata

  • Download URL: py_Ultroid-49.6b0-py3-none-any.whl
  • Upload date:
  • Size: 82.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for py_Ultroid-49.6b0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ac9d28dfe29129168f51c2fe690f67fd8e5eeb5e5b6aeca58ecf9504ff06afa
MD5 1e335bd0f9ec9de92df421881deea6f0
BLAKE2b-256 550c70e2e43d18976b562dc4743c296286a561ac040d07091f5b193e1f3e4a6b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page