mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-22 12:55:38 +00:00
🚑 autorespond
This commit is contained in:
parent
22e471cd3a
commit
3d7445889e
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user