|
@@ -271,9 +271,9 @@ async def bday_handler(bot, event, command):
|
|
try:
|
|
try:
|
|
entity = await bot.get_entity(user_id)
|
|
entity = await bot.get_entity(user_id)
|
|
except ValueError:
|
|
except ValueError:
|
|
- birthdays_list += 'Ошибка!\n'
|
|
|
|
|
|
+ await bot.get_participants(await event.get_chat())
|
|
|
|
|
|
- continue
|
|
|
|
|
|
+ entity = await bot.get_entity(user_id)
|
|
|
|
|
|
birthdays_list += get_user_name(entity)
|
|
birthdays_list += get_user_name(entity)
|
|
birthdays_list += ' — '
|
|
birthdays_list += ' — '
|