Python Wechaty Plugin Contrib Package for the Community
Image Credit: What is Plugin
When you find yourself writing repetitive code, it's time to extract it into a plugin.
Wechaty has a great support for using Plugins by calling Wechaty.use(WechatyPlugin())
. A Wechaty Plugin is a python class that listen all the event and handle all things.
This package is for publishing the Wechaty Plugins that are very common used by the core developer team.
- Wechaty v0.5.dev1 or above versions
You are welcome to send your plugin to our contrib by creating a Pull Request!
# | Plugin | Author | Feature |
---|---|---|---|
1 | DingDong | @wj-Mcat | Reply dong if bot receives a ding message. |
2 | HealthCheck | @wj-Mcat | Health checker, amis to keep wechaty bot alive at lifetime |
3 | RasaRest | @wj-Mcat | Connect to the Rasa V2 Server, make wechaty bot more intelligent |
4 | Scheduler | @wj-Mcat | Help you schedule the jobs on wechaty bot |
- Description: Reply
dong
if bot receives ading
message. - Author: @wj-Mcat
from wechaty_plugin_contrib import DingDongPlugin
bot.use(DingDongPlugin())
This plugin help to
The Wechaty Plugin Contrib will only accept simple plugins which does not dependence very heavy NPM modules, and the SLOC (Source Line Of Code) is no more than 100.
There are many great Wechaty Plugins can not be included in the contrib because they are too powerful. They will be published as a pypi package by itself.
We are listing those powerful Wechaty Plugins outside the contrib as in the following list, and you are welcome to add your plugin below if you have published any!
The python-wechaty-plugin-contrib
project was created.
- Code & Docs © 2020 Wechaty Contributors https://github.com/wechaty
- Code released under the Apache-2.0 License
- Docs released under Creative Commons