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-27.9b0.tar.gz (47.3 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-27.9b0-py3-none-any.whl (74.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py-Ultroid-27.9b0.tar.gz
  • Upload date:
  • Size: 47.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for py-Ultroid-27.9b0.tar.gz
Algorithm Hash digest
SHA256 a487f6e203a6f13e841e0ab469898f2e370d1a3a709818609ef0aea8e9453aef
MD5 d439cab1af34ea024c5d72003f7de785
BLAKE2b-256 c37984a26a94bcff22b084c1b38b31d93d2617cefcb932736b57d7abdcf72e57

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_Ultroid-27.9b0-py3-none-any.whl
  • Upload date:
  • Size: 74.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for py_Ultroid-27.9b0-py3-none-any.whl
Algorithm Hash digest
SHA256 afba21cb0063e22ca0e0c98f6f8837aaadeca3768b69f084f2ef7dbedb2d64f6
MD5 3fec03b1554a6a684a66568c10a64d77
BLAKE2b-256 dddceba6ac21e7eeb2ef8655bbfd8be4c5a93f12800278492f04b1bec75cab6a

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