🔧 selfprune 不计算此指令消息
This commit is contained in:
parent
fd438c50a1
commit
6dc61bd401
@ -42,6 +42,7 @@ async def selfprune(context):
|
|||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
count = int(context.parameter[0])
|
count = int(context.parameter[0])
|
||||||
|
await context.delete()
|
||||||
except ValueError:
|
except ValueError:
|
||||||
await context.edit("出错了呜呜呜 ~ 无效的参数。")
|
await context.edit("出错了呜呜呜 ~ 无效的参数。")
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user