🚑 autorespond

This commit is contained in:
xtaodada 2020-08-11 20:28:19 +08:00
parent 22e471cd3a
commit 3d7445889e
No known key found for this signature in database
GPG Key ID: EE4DC37B55E24736
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ from pagermaid.listener import listener
persistent_vars.update({'autorespond': {'enabled': False, 'message': None, 'amount': 0}}) persistent_vars.update({'autorespond': {'enabled': False, 'message': None, 'amount': 0}})
@listener(outgoing=True, command="autorespond", @listener(is_plugin=True, outgoing=True, command="autorespond",
description="启用自动回复。", description="启用自动回复。",
parameters="<message>") parameters="<message>")
async def autorespond(context): async def autorespond(context):

View File

@ -2,7 +2,7 @@
"list": [ "list": [
{ {
"name": "autorespond", "name": "autorespond",
"version": "0.1", "version": "0.2",
"section": "chat", "section": "chat",
"maintainer": "xtaodada", "maintainer": "xtaodada",
"size": "10 kb", "size": "10 kb",