🔧 selfprune 不计算此指令消息

This commit is contained in:
Xtao_dada 2020-08-08 08:54:35 +08:00 committed by GitHub
parent fd438c50a1
commit 6dc61bd401
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,6 +42,7 @@ async def selfprune(context):
return
try:
count = int(context.parameter[0])
await context.delete()
except ValueError:
await context.edit("出错了呜呜呜 ~ 无效的参数。")
return