Skip to content

aashiq075/Userge-Plugins

 
 

Repository files navigation

Userge-Plugins 💎

Build Status Python Version Release Stars Forks Issues Open Issues Closed PR Open PR Closed Contributors Repo Size License Commit Activity Main Repo! Join Channel! DeepSource

UnOfficial Plugins for Userge 📚

A place to collect all the plugins for Userge Bot made by awesome people who are not in Userge dev team.

Contributing 👥

You can support us by contributing to this project development. If you have any suggestions or improvements, please create an issue. Pull Requests are most welcome !

Example Plugin 🤨

from userge import userge, Message

LOG = userge.getLogger(__name__)  # logger object

CHANNEL = userge.getCLogger(__name__)  # channel logger object

@userge.on_cmd("test", about="help text to this command")  # adding handler and help text to .test command
async def testing(message: Message):
   LOG.info("starting test command...")  # log to console

   await message.edit("testing...", del_in=5)  # this will be automatically deleted after 5 sec

   await CHANNEL.log("testing completed!")  # log to channel

Support & Discussions 👥

Head over to the Discussion Group and Update Channel

Copyright & License 👮

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%