Skip to main content

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.

PyPI - Version
PyPI - Downloads
Maintenance Open Source Love svg2 PRs Welcome

Installation

pip3 install -U pyLuci

Documentation

Documentation

Usage

  • Create folders named plugins, addons, assistant and resources.
  • Add your plugins in the plugins folder and others accordingly.
  • Create a .env file with following mandatory Environment Variables
    API_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

License
Naya-Userbot 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

pyLuci-1.0.0.tar.gz (83.9 kB view details)

Uploaded Source

Built Distribution

pyLuci-1.0.0-py3-none-any.whl (106.1 kB view details)

Uploaded Python 3

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

Hashes for pyLuci-1.0.0.tar.gz
Algorithm Hash digest
SHA256 07a36c31dbf82c80f2f38ca0e1f3e01120a2574911aa044ad24a5509c21127ce
MD5 022bf1bbec0d59c5817d5446e3f44b1c
BLAKE2b-256 4c4b9845dd630bbe9bfdb44480a135269e630bd622dd34bcc5922bbb56cc903a

See more details on using hashes here.

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

Hashes for pyLuci-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d5fe267f525556f4a3cbae1ee0ae6f9a72e6fa0adf6987cf1bac9c72cc1fd2b6
MD5 f4714501bc6287df6def7c7a65b55871
BLAKE2b-256 0682da35ff1b2a29c9c648caa3e66754b054d07748558b425a692a3be29a6427

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page