Skip to main content

A Secure and Powerful Python-Telethon Based Library For Ayra Userbot.

Project description

py-Ayra Library

Core library of The Ayra, a python based telegram userbot.

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

Installation

pip3 install -U py-Ayra

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

LumiereLibs-2.1.6.tar.gz (82.7 kB view details)

Uploaded Source

Built Distribution

LumiereLibs-2.1.6-py3-none-any.whl (105.9 kB view details)

Uploaded Python 3

File details

Details for the file LumiereLibs-2.1.6.tar.gz.

File metadata

  • Download URL: LumiereLibs-2.1.6.tar.gz
  • Upload date:
  • Size: 82.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for LumiereLibs-2.1.6.tar.gz
Algorithm Hash digest
SHA256 61125923e6e38afc06b3cba21d48b921474275943ce30a060e0de3814d2fb8b3
MD5 5765f0492f518521449c615d4f16476f
BLAKE2b-256 2a3f351cdac8b418496e42b41fbc39f4475c9e8a23fbab1e45440cd3c13ca3cc

See more details on using hashes here.

File details

Details for the file LumiereLibs-2.1.6-py3-none-any.whl.

File metadata

  • Download URL: LumiereLibs-2.1.6-py3-none-any.whl
  • Upload date:
  • Size: 105.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for LumiereLibs-2.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 71503e94d10d3c4248abdda7670e39f54d056c2699810ce748e2c6dbd3ecf327
MD5 0508eb905ed0394b1793790716231c17
BLAKE2b-256 95479f1b7b383bbf11e788c72be46d3f50557960ad7e34281deff26815394cbc

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page