diff --git a/autorm.py b/autorm.py index 0c883b8..9f289c6 100644 --- a/autorm.py +++ b/autorm.py @@ -71,6 +71,8 @@ async def remove_message(context): if text.startswith("-autorm"): context.arguments = text.lstrip("-autorm").lstrip() await autorm(context) + if text.startswith(f"-{alias_command('dme')}"): + return await asyncio.sleep(delta) await context.delete() return @@ -79,6 +81,8 @@ async def remove_message(context): if text.startswith("-autorm"): context.arguments = text.lstrip("-autorm").lstrip() await autorm(context) + if text.startswith(f"-{alias_command('dme')}"): + return await asyncio.sleep(delta) await context.delete() return diff --git a/list.json b/list.json index 2770331..a13fddd 100644 --- a/list.json +++ b/list.json @@ -32,7 +32,7 @@ }, { "name": "autorm", - "version": "1.02", + "version": "1.03", "section": "chat", "maintainer": "fruitymelon", "size": "6.7 kb",