py-Ayra Library
Core library of The Ayra, a python based telegram userbot.
Installation
pip3 install -U py-Ayra
Documentation
Usage
- Create folders named
plugins,addons,assistantandresources. - Add your plugins in the
pluginsfolder and others accordingly. - Create a
.envfile with following mandatory Environment VariablesAPI_ID API_HASH SESSION MONGO_URI - Check
.env.samplefor more details. - Run
python3 -m Ayrato start the bot.
Creating plugins
@ayra_cmd(
pattern="start"
)
async def _(e):
await e.eor("Ayra Started!")
@ayra_cmd(
pattern="start",
groups_only=True,
)
async def _(e):
await eor(e, "Ayra Started.")
@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
Metadata
Release files for py-caska 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| py-caska-1.0.3.tar.gz | 83.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_caska-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 189.8 kB
Release files / py-caska-1.0.3.tar.gz
| Download URL | py-caska-1.0.3.tar.gz |
|---|---|
| Size | 83.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fcc1be6fd92008d28af59e21953787ab2dad76d5e84d0c5bdfc20bd01e84a305
|
|
BLAKE2b-256 checksum How to use checksums |
288b4315674613c1bfd24e3af8c3222101fdd60cd1f426a333b7051179d4f060
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|
Release files / py_caska-1.0.3-py3-none-any.whl
| Download URL | py_caska-1.0.3-py3-none-any.whl |
|---|---|
| Size | 106.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce1b8e014b53e05322c25736a505b86c0d942fca5fb05859834539f1e74c3fb7
|
|
BLAKE2b-256 checksum How to use checksums |
0516ca1e1486e915b937ba1072beb94f17c91099607e01c1288529ce35c53428
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|