From 3d7445889e0d2e1004646f5695b7c2e1c697b928 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Tue, 11 Aug 2020 20:28:19 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=20autorespond?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- autorespond.py | 2 +- list.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autorespond.py b/autorespond.py index d8be9d6..6ac6798 100644 --- a/autorespond.py +++ b/autorespond.py @@ -7,7 +7,7 @@ from pagermaid.listener import listener persistent_vars.update({'autorespond': {'enabled': False, 'message': None, 'amount': 0}}) -@listener(outgoing=True, command="autorespond", +@listener(is_plugin=True, outgoing=True, command="autorespond", description="启用自动回复。", parameters="") async def autorespond(context): diff --git a/list.json b/list.json index 1f9735d..eb957d8 100644 --- a/list.json +++ b/list.json @@ -2,7 +2,7 @@ "list": [ { "name": "autorespond", - "version": "0.1", + "version": "0.2", "section": "chat", "maintainer": "xtaodada", "size": "10 kb",