A Secure and Powerful Python-Telethon Based Library For Shearlean Userbot.
Project description
sherlibs Library
Core library of The Ultroid, 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
-
To work everywhere
@ultroid_cmd(
pattern="start"
)
async def _(e):
await e.eor("Ayra Started!")
-
To work only in groups
@ultroid_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
Ultroid 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
sherlibs-3.0.0.tar.gz
(84.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
sherlibs-3.0.0-py3-none-any.whl
(107.4 kB
view details)
File details
Details for the file sherlibs-3.0.0.tar.gz.
File metadata
- Download URL: sherlibs-3.0.0.tar.gz
- Upload date:
- Size: 84.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.31.0 rfc3986/1.5.0 tqdm/4.65.0 urllib3/1.26.5 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80360bbf6774b449d4a0a9f4035a18c7ad5dbb986c83f20a270d81092e314b75
|
|
| MD5 |
2de0fe7948026a47e28d0ea28fe50703
|
|
| BLAKE2b-256 |
242e184a98b413285380d96d6076c2d6e4f13983557401e64c95ff8f5f3ed970
|
File details
Details for the file sherlibs-3.0.0-py3-none-any.whl.
File metadata
- Download URL: sherlibs-3.0.0-py3-none-any.whl
- Upload date:
- Size: 107.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.31.0 rfc3986/1.5.0 tqdm/4.65.0 urllib3/1.26.5 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8312f8dec37f600655527ec4dd918738f09ef74036de4932440f1f6017f69d6c
|
|
| MD5 |
c6f54270151198319e08621a8c96a574
|
|
| BLAKE2b-256 |
948db1857ab53bbdb242b9819578475578f6507067672bf1ff237349d32cf974
|