forked from Pavel_Durov/python_bot
test dictт
This commit is contained in:
parent
f942001b8d
commit
2c58165984
5
bot.py
5
bot.py
@ -120,10 +120,7 @@ async def send_time(message: types.Message):
|
||||
a = session.query(user.user_fullname, user.dick_size).order_by(user.dick_size.desc()).limit(10).all()
|
||||
b = dict(a)
|
||||
|
||||
|
||||
for key in b:
|
||||
top = f"{key}: {str(b[key]).replace('[', '').replace(']', '')}"
|
||||
await bot.send_message(message.chat.id, f'{top}')
|
||||
await bot.send_essage(message.chat.id,f'{a}')
|
||||
session.close_all()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user