A Secure and Powerful Python-Telethon Based Library For Ayra Userbot.
Project description
py-Ultroid Library
Core library of The Ultroid, a python based telegram userbot.
Installation
pip3 install -U py-Ayra
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 MONGO_URI
- Check
.env.sample
for more details. - Run
python3 -m Ayra
to start the bot.
Creating plugins
-
To work everywhere
@ultroid_cmd(
pattern="start"
)
async def _(e):
await e.eor("Ayra Started!")
-
To work only in groups
@ultroid_cmd(
pattern="start",
groups_only=True,
)
async def _(e):
await eor(e, "Ayra Started.")
-
Assistant Plugins 👇
@asst_cmd("start")
async def _(e):
await e.reply("Ayra Started.")
See more working plugins on the offical repository!
Made with 💕 by Kynan.
License
Ultroid is licensed under GNU Affero General Public License v3 or later.
Credits
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
auroralibs-8.0.6.tar.gz
(84.1 kB
view details)
Built Distribution
auroralibs-8.0.6-py3-none-any.whl
(107.3 kB
view details)
File details
Details for the file auroralibs-8.0.6.tar.gz
.
File metadata
- Download URL: auroralibs-8.0.6.tar.gz
- Upload date:
- Size: 84.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e81f1e2bd588d40901ee7e14d2c663a88233e588e7a47a78463bba57b28f9b05 |
|
MD5 | abb2b6040dfb33caa06ff89ae8ad132a |
|
BLAKE2b-256 | dbb1cfa8a4140c8208f71cd62703ebd4a2945d430bd487c698206e2f9222ab67 |
File details
Details for the file auroralibs-8.0.6-py3-none-any.whl
.
File metadata
- Download URL: auroralibs-8.0.6-py3-none-any.whl
- Upload date:
- Size: 107.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70bf473d6925702643c8289c6ce0265aa4010a9bac0b588a5797effcbd06fb21 |
|
MD5 | 9a13b4e71c64faa098b9008369721d52 |
|
BLAKE2b-256 | 0683530407ae969a0b6564853c781f1faa13f8adf2324e85ef2b6cd8bb3d974c |