A Secure and Powerful Python-Telethon Based Library For Ultroid Userbot.
Project description
py-Ultroid Library
Core library of The Ultroid, a python based telegram userbot.
Installation
pip3 install -U py-Ultroid
Documentation
Usage
- Create folders named
plugins
,addons
,assistant
andresources
. - Add your plugins in the
plugins
folder and others accordingly. - Create a
.env
file with following mandatory Environment VariablesAPI_ID API_HASH SESSION REDIS_URI REDIS_PASSWORD
- Check
.env.sample
for more details. - Run
python3 -m pyUltroid
to start the bot.
Creating plugins
-
To work everywhere
@ultroid_cmd(
pattern="start"
)
async def _(e):
await e.eor("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.")
See more working plugins on the offical repository!
Made with 💕 by @TeamUltroid.
License
Ultroid is licensed under GNU Affero General Public License v3 or later.
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-2022.1.1.1.tar.gz
(75.1 kB
view hashes)
Built Distribution
Close
Hashes for py_Ultroid-2022.1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d42e2c007dc15e38cfc78598a092a049e3e8bde0bf2f3f4b67421d62c55dbd06 |
|
MD5 | 1b723f11d8693814b169c113c90614a5 |
|
BLAKE2b-256 | 9d5593a0071ccbc73e0969880e69473ce4c098f5b78282c07f6d972044c99e9c |