PagerMaid_Plugins/dme.py
2022-01-18 16:47:20 +08:00

14 lines
476 B
Python

""" Module to automate message deletion. """
from pagermaid import version
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)