fix session

This commit is contained in:
Pavel_Duron 2022-12-04 16:56:43 +10:00
parent 5b668f1a6d
commit 0861e266c7

1
bot.py
View File

@ -162,6 +162,7 @@ async def send_time(message: types.Message):
top_chat = session.query(user.user_fullname, user.dick_size).order_by(user.dick_size.desc()).limit(10).all()
delimiter = ': '
session.close()
engine.dispose()
await bot.send_message(message.chat.id, f'🏆Топ 10 пипис в мире🏆\n\n\
1. {delimiter.join(map(str, top_chat[0]))}\n\
2. {delimiter.join(map(str, top_chat[1]))}\n\