diff --git a/bot/main.py b/bot/main.py index a59ad6d..e9bf0c8 100644 --- a/bot/main.py +++ b/bot/main.py @@ -4,7 +4,7 @@ from aiogram import Bot, Dispatcher from aiogram.client.default import DefaultBotProperties from aiogram.enums import ParseMode from aiogram.filters import CommandStart -from aiogram.types import User, Message, PollAnswer, InputPollOption +from aiogram.types import User, Message, MessageReactionUpdated, PollAnswer, InputPollOption from apscheduler.schedulers.asyncio import AsyncIOScheduler import config @@ -173,9 +173,17 @@ async def get_poll_answer( break +@dp.message_reaction() +async def get_message_reaction( + message_reaction: MessageReactionUpdated, +): + pass + + async def on_startup( dispatcher: Dispatcher, ): + pass # scheduler.add_job( # func=send_mood_poll, # trigger='cron', @@ -197,7 +205,7 @@ async def on_startup( # hour=23, # minute=19, # ) - scheduler.start() + # scheduler.start() dp.startup.register(on_startup)