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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py-Ultroid-48.0b0.tar.gz.
File metadata
- Download URL: py-Ultroid-48.0b0.tar.gz
- Upload date:
- Size: 64.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6ea7e2d35b9accffadb5cf03654ca637b6b251d2e46fdfbbbd1fe63f797c76a
|
|
| MD5 |
d080ae9e7acec3638028f8fdfd7090d4
|
|
| BLAKE2b-256 |
e3cd17678b18ae7d7537cb02cc1e915bf53554a0459ce01a91f4b6c4da50a433
|
File details
Details for the file py_Ultroid-48.0b0-py3-none-any.whl.
File metadata
- Download URL: py_Ultroid-48.0b0-py3-none-any.whl
- Upload date:
- Size: 82.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37e3535abae4ab296449082ec399e19f41a445b29d2a84ff95cb5b4fee8a2db4
|
|
| MD5 |
c50583023637fabe4ac8727a62ce47e9
|
|
| BLAKE2b-256 |
43b8e703fb2653909037b905e7645f77e42f4bca74dae676c273476fee2cf56d
|