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.

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-11.4b0.tar.gz (33.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-11.4b0-py3-none-any.whl (53.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py-Ultroid-11.4b0.tar.gz
  • Upload date:
  • Size: 33.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.3

File hashes

Hashes for py-Ultroid-11.4b0.tar.gz
Algorithm Hash digest
SHA256 58249d9282bc4e0f6a4395cf11a17bff68e1bbdfb6cb4cb88e5b7823092e9ff8
MD5 089d93939a349a027aeb88c3ac806a81
BLAKE2b-256 78ed22b349d27e0e0c70c4b71886fca4fd629b38c990dc8467001f2315a78480

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_Ultroid-11.4b0-py3-none-any.whl
  • Upload date:
  • Size: 53.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.7.3

File hashes

Hashes for py_Ultroid-11.4b0-py3-none-any.whl
Algorithm Hash digest
SHA256 c96f0fcde128c6118850c5de8e7e2cc3d27f0bf7fc967e5f51e9354ed52bc744
MD5 4b5bdc020e1dfa3a1ef28481326df520
BLAKE2b-256 ad5ef63c684f7a42c3a0581841ed4768f5aaccb4a0beeb5632d57173c655268f

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