feat: 添加更多插件示例

This commit is contained in:
Rock Chin
2023-01-17 11:17:17 +08:00
parent 41d0082cee
commit b4938ba1fb
4 changed files with 52 additions and 0 deletions
@@ -1,6 +1,10 @@
from pkg.plugin.models import *
from pkg.plugin.host import EventContext
"""
在收到私聊或群聊消息"hello"时,回复"hello, <发送者id>!""hello, everyone!"
"""
# 注册插件
@register(name="Hello", description="hello world", version="0.1", author="RockChinQ")