PagerMaid_Plugins/dme.py
2022-01-16 20:43:13 +08:00

13 lines
446 B
Python

""" Module to automate message deletion. """
from pagermaid.listener import listener
from pagermaid.utils import alias_command, lang
from pagermaid.modules.prune import selfprune
@listener(is_plugin=False, outgoing=True, command=alias_command("dme"),
description=lang('sp_des'),
parameters=lang('sp_parameters'))
async def dme(context):
""" Deletes specific amount of messages you sent. """
await selfprune(context)