test topdic2k
This commit is contained in:
parent
e167ea2bf6
commit
5610549a7f
25
bot.py
25
bot.py
@ -118,22 +118,21 @@ async def send_time(message: types.Message):
|
||||
Base = declarative_base()
|
||||
|
||||
top = session.query(user.user_fullname, user.dick_size).order_by(user.dick_size.desc()).limit(10).all()
|
||||
red = '\n'.join(map(str, top))
|
||||
delimiter = ': '
|
||||
|
||||
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]}ff')
|
||||
await bot.send_message(message.chat.id, f'<u>Топ пипис!</u>\n\
|
||||
<b>1.</b>{delimiter.join(map(str, top[0]))}\n\
|
||||
<b>2.</b> {delimiter.join(map(str, top[1]))}\n\
|
||||
<b>3.</b>3{delimiter.join(map(str, top[2]))}\n\
|
||||
<b>4.</b>{delimiter.join(map(str, top[3]))}\n\
|
||||
<b>5.</b>{delimiter.join(map(str, top[4]))}\n\
|
||||
<b>6.</b>{delimiter.join(map(str, top[5]))}\n\
|
||||
<b>7.</b>{delimiter.join(map(str, top[6]))}\n\
|
||||
<b>8.</b>{delimiter.join(map(str, top[7]))}\n\
|
||||
<b>9.</b>{delimiter.join(map(str, top[8]))}\n\
|
||||
<b>10.</b>{delimiter.join(map(str, top[8]))}\n')
|
||||
session.close_all()
|
||||
|
||||
|
||||
@dp.message_handler(commands=['start'])
|
||||
async def start_func(message: types.Message):
|
||||
# user_id = message.from_user.id
|
||||
|
Loading…
Reference in New Issue
Block a user