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.

License

Ultroid is licensed under GNU Affero General Public License v3 or later.

License

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-64.1b0.tar.gz (70.9 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-64.1b0-py3-none-any.whl (92.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py-Ultroid-64.1b0.tar.gz
  • Upload date:
  • Size: 70.9 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.3 CPython/3.9.7

File hashes

Hashes for py-Ultroid-64.1b0.tar.gz
Algorithm Hash digest
SHA256 4274b6eb617bc791be84032e038018dd5e36ce53e803e2e606a1bebd53bcb05a
MD5 ade273272f9a78ba288e5eb775a5b687
BLAKE2b-256 47107885dbdc02702ab16f6dd711885ec8145308c0bb1299079dc1109a2b2f14

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_Ultroid-64.1b0-py3-none-any.whl
  • Upload date:
  • Size: 92.9 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.3 CPython/3.9.7

File hashes

Hashes for py_Ultroid-64.1b0-py3-none-any.whl
Algorithm Hash digest
SHA256 94aabad8e326c409e0069a3d6ce5d48af8548088497e90ea969a443803e1d161
MD5 7eeb1ecf98f1a10bcd8f1d8784fa9c9a
BLAKE2b-256 60907a82509274d4c75e0dfa7d0ea7403c5e08e9e77899507c751c4627b82901

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