It's version 0.5

This commit is contained in:
Niken
2025-10-29 21:46:06 +03:00
parent a71a7fbd0c
commit e56401bf1d
19 changed files with 582 additions and 7 deletions
+6 -1
View File
@@ -20,7 +20,7 @@ def register_handlers(dp: Dispatcher, state: BotState, bot: Bot):
poll_msg = await bot.send_poll(
chat_id=chat_id,
question="Кто опоздает?",
options=["Я", "Я очень сильно опоздаю", "Наверное"],
options=["Я", "Я очень сильно опоздаю", "Я пиздец как опоздаю", "Наверное"],
is_anonymous=False,
allows_multiple_answers=False,
)
@@ -56,6 +56,11 @@ def register_handlers(dp: Dispatcher, state: BotState, bot: Bot):
)
save_message(msg.chat.id, msg.message_id)
elif option_ids and option_ids[0] == 2:
msg = await bot.send_message(
chat_id=6394047531, text=f"{username} Пиздец опоздаеты"
)
save_message(msg.chat.id, msg.message_id)
elif option_ids[0] == 3:
msg = await bot.send_message(
chat_id=6394047531, text=f"{username} возможно опоздает"
)