топ пипис tets

This commit is contained in:
Pavel_Duron 2022-11-15 18:03:19 +10:00
parent 5f0773c163
commit ac3dc9dfc6

2
bot.py
View File

@ -112,7 +112,7 @@ async def send_time(message: types.Message):
session = Session() session = Session()
Base = declarative_base() Base = declarative_base()
for user_fullname, dick_size in session.query(user.user_fullname, user.dick_size).order_by(user.dick_size.desc()).limit(10).all(): for user_fullname, dick_size in session.query(user.user_fullname, user.dick_size).order_by(user.dick_size.desc()).limit(10).all():
vocab = dict({user_fullname: dick_size}) vocab = dict({'1': user_fullname, '-': dick_size})
await bot.send_message(message.chat.id, f'{vocab}') await bot.send_message(message.chat.id, f'{vocab}')
session.close_all() session.close_all()