feature/FenyaBot blur questionable (q) rating in /uwu command #36
1 changed files with 1 additions and 1 deletions
|
|
@ -180,7 +180,7 @@ async def handle_uwu_cmd(message: types.Message):
|
|||
file_url = post["url"]
|
||||
ext = post["ext"]
|
||||
caption = post["caption"]
|
||||
spoiler = post.get("rating") == "e" # спойлер для explicit
|
||||
spoiler = post.get("rating") in ("e", "q") # спойлер для explicit и questionable
|
||||
|
||||
if ext in ("gif", "webm", "mp4"):
|
||||
# Для анимаций: отправляем caption отдельным сообщением,
|
||||
|
|
|
|||
Loading…
Reference in a new issue