Spoilers on custom filters

This commit is contained in:
2023-01-13 10:43:27 +01:00
parent bd925418fd
commit fd5e0b5b22
3 changed files with 8 additions and 1 deletions

View File

@@ -66,6 +66,9 @@ async def any_stage(app: Client, msg: Message):
if holo_user.application_state()[0] != "fill" and holo_user.sponsorship_state()[0] != "fill":
if configGet("enabled", "features", "spoilers") is False:
return
spoiler = col_spoilers.find_one( {"user": msg.from_user.id, "completed": False} )
if spoiler is None: