py-Hugo Library
A stable Hugo userbot base library, based on Telethon.
Installation
pip install py-Hugo
Creating plugins
- To work everywhere
@hugo_cmd(
pattern="start",
)
async def _(e):
await eor(e, "Hugo Started")
- To work only in groups
@hugo_cmd(
pattern="start",
groups_only=True,
)
async def _(e):
await eor(e, "Hugo Started")
- Assistant Plugins
👇
@asst_cmd("start")
async def _(e):
await e.reply("Hugo Started")
Made with
License
Hugo is licensed under GNU Affero General Public License v3 or later.