forked from Pavel_Durov/python_bot
test topdick
This commit is contained in:
parent
2c58165984
commit
84d083ac5c
16
bot.py
16
bot.py
@ -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()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user