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-51.1b0.tar.gz (65.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-51.1b0-py3-none-any.whl (83.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for py-Ultroid-51.1b0.tar.gz
Algorithm Hash digest
SHA256 41af79ba365c1f87764a5f73581b8ea9097ef9a035be51b4080a846ccce7743e
MD5 c1cd491493af42533b711c81148c9ad6
BLAKE2b-256 c6a3c9f9b6dc0ceddb2715869bc70decccdf9c4a74013f2b7b9250f0c1182aab

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for py_Ultroid-51.1b0-py3-none-any.whl
Algorithm Hash digest
SHA256 b36621d9f051e132097a025653c40cd27a931081af656d950760291701a534b0
MD5 2a452306ac21a26b282c6d42efc78851
BLAKE2b-256 32b382f3a5093471507bcb328bb463086101f9b4cb1fc4432e9505596fc413dd

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