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 The Ultroid

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, REDIS_URI & REDIS_PASSWORD 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-62.1b0.tar.gz (68.7 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-62.1b0-py3-none-any.whl (87.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py-Ultroid-62.1b0.tar.gz
  • Upload date:
  • Size: 68.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for py-Ultroid-62.1b0.tar.gz
Algorithm Hash digest
SHA256 04fee978a991e72556622db9033c4f66142c500e094db6781af5dcb8180f2b59
MD5 b38bb27ee9faee50508bb63370d2f3cd
BLAKE2b-256 628741618b54e938b670bef6840b56ee63194d0a95d2d79f274e96dcdb70d42f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_Ultroid-62.1b0-py3-none-any.whl
  • Upload date:
  • Size: 87.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for py_Ultroid-62.1b0-py3-none-any.whl
Algorithm Hash digest
SHA256 1a05148b9ef306701b64e13e2a08c8cad9e9eba1a7e684c871eee110db2ec5b6
MD5 84af069a5ec5f9ab415068a11422e38b
BLAKE2b-256 262f49cc4bc0e95c7efdca474011dcfb2eb25743782f8825cd4088e0f764528a

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