⚡️ 修改 yourprune 逻辑
This commit is contained in:
parent
e37f312de0
commit
3bd162e827
@ -81,6 +81,10 @@ async def yourprune(context):
|
|||||||
await message.delete()
|
await message.delete()
|
||||||
count_buffer += 1
|
count_buffer += 1
|
||||||
await log(f"批量删除了回复用户所发送的 {str(count)} 条消息。")
|
await log(f"批量删除了回复用户所发送的 {str(count)} 条消息。")
|
||||||
|
try:
|
||||||
|
await context.delete()
|
||||||
|
except:
|
||||||
|
pass
|
||||||
notification = await send_prune_notify(context, count)
|
notification = await send_prune_notify(context, count)
|
||||||
await sleep(.5)
|
await sleep(.5)
|
||||||
await notification.delete()
|
await notification.delete()
|
||||||
|
Loading…
Reference in New Issue
Block a user