pyUltroid
pyUltroid copied to clipboard
[Ultroid] Base Library - Telethon
py-Ultroid Library
Core library of The Ultroid, a python based telegram userbot.
Installation
pip3 install -U py-Ultroid
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 REDIS_URI REDIS_PASSWORD - Check
.env.samplefor more details. - Run
python3 -m pyUltroidto start the bot.
Creating plugins
-
To work everywhere
@ultroid_cmd(
pattern="start"
)
async def _(e):
await e.eor("Ultroid Started!")
-
To work only in groups
@ultroid_cmd(
pattern="start",
groups_only=True,
)
async def _(e):
await eor(e, "Ultroid Started.")
-
Assistant Plugins 👇
@asst_cmd("start")
async def _(e):
await e.reply("Ultroid Started.")
See more working plugins on the offical repository!
Made with 💕 by @TeamUltroid.
License

Ultroid is licensed under GNU Affero General Public License v3 or later.