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.6.6.tar.gz
(80.9 kB
view details)
Built Distribution
py_Ultroid-2022.6.6-py3-none-any.whl
(103.0 kB
view details)
File details
Details for the file py-Ultroid-2022.6.6.tar.gz
.
File metadata
- Download URL: py-Ultroid-2022.6.6.tar.gz
- Upload date:
- Size: 80.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ca847df21521183bc816d0b172e3b5223ac402181311ff455cd16b59adcd066 |
|
MD5 | 58d7ae76f0b0a261fa3926a11b5cee46 |
|
BLAKE2b-256 | 9559688262f08a88684ade8b90d58148c41f220eebb0d7b78d1be726d46f5efb |
File details
Details for the file py_Ultroid-2022.6.6-py3-none-any.whl
.
File metadata
- Download URL: py_Ultroid-2022.6.6-py3-none-any.whl
- Upload date:
- Size: 103.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71cb35bba17069c805445c5153f761ea8420a5c28629a92955e0db8652c77407 |
|
MD5 | 7e0ac66d5c0870aafc16278ca1a0c354 |
|
BLAKE2b-256 | 46dc4c0651d0aea79a69ebbc03eea8b789dbf38e979d1dbcd53eeb044bafa4da |