Application and sponsorship crosscheck

This commit is contained in:
Profitroll
2022-12-27 13:23:24 +01:00
parent 85112dc653
commit 47896faf06
6 changed files with 32 additions and 5 deletions

View File

@@ -351,6 +351,10 @@ class HoloUser():
progress = col_tmp.find_one({"user": self.id, "type": "application"})
stage = progress["stage"]
if self.sponsorship_state()[0] == "fill":
await msg.reply_text(locale("finish_sponsorship", "message"), quote=should_quote(msg))
return
if progress["state"] == "fill" and progress["sent"] is False: