Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.72 KB

README.md

File metadata and controls

46 lines (32 loc) · 1.72 KB

UltroidAddons

Plugins repository for @TheUltroid.

Contributing

If you want to contribute to this repository (adding your plugins/porting from other bots), use the format given below and create a pull request.
⚠️ First check whether the stuff you push works. Also, if the pull request doesn't follow the below format, it will be closed without prior notice.

# Credits @username (creator of plugin and who ported)   
   
# Ported from (if ported else skip)   
   
# Ported for Ultroid < https://github.com/TeamUltroid/Ultroid >   

Kindly do not steal others works without credits.

Example Plugin

Required Import are Automatically Done.

This Example Works Everywhere. (e.g. Groups, Personal Chats ...)

@ultroid_cmd(pattern="hoi")
async def hello_world_example(event):
    # As telethon is an asyncio based lib, you will have to use `async`/`await` Syntax.
    await event.reply("Hello **World**.")

This Example Works Only In Groups.

@ultroid_cmd(pattern="hoi", groups_only=True,)
async def hello_world_example(event):
    await event.reply("Hello **World**.")

If Your plugin need any additional requirements, it can be added to addons.txt


For More Information See The Pypi Page.

Made with 💕 by @TeamUltroid.