This commit is contained in:
parent
ff24d27119
commit
b38bf77c57
5
bot.py
5
bot.py
@ -116,8 +116,11 @@ async def send_time(message: types.Message):
|
|||||||
Session = sessionmaker(bind=engine)
|
Session = sessionmaker(bind=engine)
|
||||||
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():
|
||||||
await bot.send_message(message.chat.id, f'{user_fullname} {dick_size}\n')
|
a = user_fullname, dick_size
|
||||||
|
b = ''.join(a[0])
|
||||||
|
await bot.send_message(message.chat.id, f'{b}\n')
|
||||||
session.close_all()
|
session.close_all()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user