A Secure and Powerful Python-Telethon Based Library For Luci UserBot.
Project description
pyLuci Library
Core library of The Luci, a python based telegram userbot.
Installation
pip3 install -U pyLuci
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
@ayra_cmd(
pattern="start"
)
async def _(e):
await e.eor("Ayra Started!")
-
To work only in groups
@ayra_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
Naya-Userbot 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
pyLuci-1.0.0.tar.gz
(83.9 kB
view details)
Built Distribution
pyLuci-1.0.0-py3-none-any.whl
(106.1 kB
view details)
File details
Details for the file pyLuci-1.0.0.tar.gz
.
File metadata
- Download URL: pyLuci-1.0.0.tar.gz
- Upload date:
- Size: 83.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07a36c31dbf82c80f2f38ca0e1f3e01120a2574911aa044ad24a5509c21127ce |
|
MD5 | 022bf1bbec0d59c5817d5446e3f44b1c |
|
BLAKE2b-256 | 4c4b9845dd630bbe9bfdb44480a135269e630bd622dd34bcc5922bbb56cc903a |
File details
Details for the file pyLuci-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: pyLuci-1.0.0-py3-none-any.whl
- Upload date:
- Size: 106.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5fe267f525556f4a3cbae1ee0ae6f9a72e6fa0adf6987cf1bac9c72cc1fd2b6 |
|
MD5 | f4714501bc6287df6def7c7a65b55871 |
|
BLAKE2b-256 | 0682da35ff1b2a29c9c648caa3e66754b054d07748558b425a692a3be29a6427 |