Compare commits

..

No commits in common. "ac6027a3fdefdbe645d4e3058ad1b84203a4a515" and "1a8056e0c5651346c6ddaaf867bccfd1eb469921" have entirely different histories.

2 changed files with 1 additions and 3 deletions

View file

@ -28,13 +28,11 @@ def create_dispatcher(config: Config) -> Dispatcher:
@router.message(F.chat.id == config.discussion_chat_id, FromLinkedChannel()) @router.message(F.chat.id == config.discussion_chat_id, FromLinkedChannel())
async def on_channel_post(message: Message) -> None: async def on_channel_post(message: Message) -> None:
await asyncio.sleep(5)
try: try:
await message.reply( await message.reply(
config.comment_text, config.comment_text,
parse_mode=ParseMode.HTML, parse_mode=ParseMode.HTML,
link_preview_options=LinkPreviewOptions(is_disabled=True), link_preview_options=LinkPreviewOptions(is_disabled=True),
disable_notification=True,
) )
except Exception: except Exception:
logger.exception( logger.exception(

View file

@ -6,7 +6,7 @@
🔶 Чтобы бот не удалил ваш комментарий, нужно быть участником чата (<a href="https://t.me/+jOrJ6bZCfKNkMjMy">вот ссылка</a>). 🔶 Чтобы бот не удалил ваш комментарий, нужно быть участником чата (<a href="https://t.me/+jOrJ6bZCfKNkMjMy">вот ссылка</a>).
<strong>Вся информация про нашу команду — на сайте.</strong> <strong>Вся информация про нашу команду — на сайте.</strong> Нажмите, почитайте!
🐺 <a href="http://428th.com">428th.com</a> 🐺 <a href="http://428th.com">428th.com</a>