set_failed on kick_unstarted and kick_unverified
This commit is contained in:
parent
569b0d51e5
commit
e3376e5fe0
@ -17,6 +17,7 @@ async def kick_unstarted(
|
|||||||
if isinstance(banned, Message):
|
if isinstance(banned, Message):
|
||||||
await banned.delete()
|
await banned.delete()
|
||||||
|
|
||||||
|
await user.set_failed(True)
|
||||||
await app.delete_messages(group_id, message_id)
|
await app.delete_messages(group_id, message_id)
|
||||||
|
|
||||||
|
|
||||||
@ -33,4 +34,5 @@ async def kick_unverified(
|
|||||||
if isinstance(banned, Message):
|
if isinstance(banned, Message):
|
||||||
await banned.delete()
|
await banned.delete()
|
||||||
|
|
||||||
|
await user.set_failed(True)
|
||||||
await app.delete_messages(group_id, message_id)
|
await app.delete_messages(group_id, message_id)
|
||||||
|
Reference in New Issue
Block a user