mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-21 14:38:31 +00:00
14 lines
476 B
Python
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)
|