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-63.1b0.tar.gz (70.6 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-63.1b0-py3-none-any.whl (92.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py-Ultroid-63.1b0.tar.gz
  • Upload date:
  • Size: 70.6 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-63.1b0.tar.gz
Algorithm Hash digest
SHA256 a7d3e50a3b6aca8d9e670c610fe08487631ff39c5e41f1ec3fffd94e353402e5
MD5 90d5a6846b12d321f3dc3c495e9e78c4
BLAKE2b-256 ec2f147eaf460ed441c8841e3a18005ed6db5ea394b9883f2f310a7ddb3296be

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for py_Ultroid-63.1b0-py3-none-any.whl
Algorithm Hash digest
SHA256 f1f01775fe355abe42d5096962fcec8a9160354df68ce96ba6ffeda70d1df149
MD5 93fadc1ce0fe80b5eb6a87f12e80f688
BLAKE2b-256 d56bcdf035c5da4db4e6737902c97dfc31c8c6a5d27b433dc8277604bac7c8ae

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