Skip to main content

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

Metadata

Release files for LumiereLibs 2.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for LumiereLibs 2.1.6
File Size Uploaded
LumiereLibs-2.1.6.tar.gz 82.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for LumiereLibs 2.1.6
File Interpreter ABI Platform
LumiereLibs-2.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 188.6 kB

Release files / LumiereLibs-2.1.6.tar.gz

Download URL LumiereLibs-2.1.6.tar.gz
Size 82.7 kB
Tags Source
SHA-256 checksum
How to use checksums
61125923e6e38afc06b3cba21d48b921474275943ce30a060e0de3814d2fb8b3
BLAKE2b-256 checksum
How to use checksums
2a3f351cdac8b418496e42b41fbc39f4475c9e8a23fbab1e45440cd3c13ca3cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / LumiereLibs-2.1.6-py3-none-any.whl

Download URL LumiereLibs-2.1.6-py3-none-any.whl
Size 105.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
71503e94d10d3c4248abdda7670e39f54d056c2699810ce748e2c6dbd3ecf327
BLAKE2b-256 checksum
How to use checksums
95479f1b7b383bbf11e788c72be46d3f50557960ad7e34281deff26815394cbc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release history Release notifications | RSS feed

This release

2.1.6 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page