A Secure and Powerful Python-Telethon Based Library For Ayra Userbot.
Project description
py-Ultroid Library
Core library of The Ultroid, a python based telegram userbot.
Installation
pip3 install -U py-Fvnky
Documentation
Usage
- Create folders named
plugins
,addons
,assistant
andresources
. - Add your plugins in the
plugins
folder and others accordingly. - Create a
.env
file with following mandatory Environment VariablesAPI_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
@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 petinggikontol.
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
py-Fvnky-9.9.9.tar.gz
(72.0 kB
view hashes)