This commit is contained in:
parent
29ced2a4a4
commit
8ad2cf8287
3
bot.py
3
bot.py
@ -117,8 +117,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({'1': user_fullname, '-': dick_size})
|
await bot.send_message(message.chat.id, f'{user_fullname} {dick_size}\n')
|
||||||
await bot.send_message(message.chat.id, f'{vocab}')
|
|
||||||
session.close_all()
|
session.close_all()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user