set_failed on kick_unstarted and kick_unverified

This commit is contained in:
Profitroll 2023-08-14 12:46:03 +02:00
parent 569b0d51e5
commit e3376e5fe0
Signed by: profitroll
GPG Key ID: FA35CAB49DACD3B2

View File

@ -17,6 +17,7 @@ async def kick_unstarted(
if isinstance(banned, Message):
await banned.delete()
await user.set_failed(True)
await app.delete_messages(group_id, message_id)
@ -33,4 +34,5 @@ async def kick_unverified(
if isinstance(banned, Message):
await banned.delete()
await user.set_failed(True)
await app.delete_messages(group_id, message_id)