MasterGroosha / aiogram-3-guide

Пишем Telegram-ботов с aiogram 3.x
https://mastergroosha.github.io/aiogram-3-guide/
MIT License
879 stars 135 forks source link

Исправление в разделе Особые апдейты #77

Closed Vadim-Khristenko closed 3 months ago

Vadim-Khristenko commented 7 months ago

Согласно Репорту по ссылке https://github.com/MasterGroosha/aiogram-3-guide/issues/76

В разделе "Особые апдейты" https://mastergroosha.github.io/aiogram-3-guide/special-updates/ или же https://mastergroosha.github.io/aiogram-3-guide/special-updates/#my-chat-member:~:text=chat_info%20%3D%20await%20bot.get_chat(event.chat.id), в блоке "Добавление в группу" в функции "bot_added_as_member" отсутствует аргумент bot, который потом вызывается в ней же.


Я же внёс эту маленькую, но правку :) Сделав не await bot.get_chat(event.chat.id) а, await event.bot.get_chat(event.chat.id)

MasterGroosha commented 3 months ago

Спасибо, я это притащил в ef4f169 в рамках обновления материалов