test topdick
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Pavel_Duron 2022-11-23 00:45:45 +10:00
parent 2c58165984
commit 84d083ac5c

16
bot.py
View File

@ -117,10 +117,20 @@ async def send_time(message: types.Message):
session = Session()
Base = declarative_base()
a = session.query(user.user_fullname, user.dick_size).order_by(user.dick_size.desc()).limit(10).all()
b = dict(a)
top = session.query(user.user_fullname, user.dick_size).order_by(user.dick_size.desc()).limit(10).all()
red = '\n'.join(map(str, top))
await bot.send_essage(message.chat.id,f'{a}')
await bot.send_message(message.chat.id, f'{red}')
# {top[0]}\n\
# {top[1]}\n\
# {top[2]}\n\
# {top[3]}\n\
# {top[4]}\n\
# {top[5]}\n\
# {top[6]}\n\
# {top[7]}\n\
# {top[8]}\n\
# {top[9]}')
session.close_all()