Compare commits
No commits in common. "b171f76c63812d91fc06890a910c50a436c528a9" and "c087670be2cfabbd1e34c13585f9ef5c1e68f47b" have entirely different histories.
b171f76c63
...
c087670be2
5
bot.py
5
bot.py
@ -118,10 +118,10 @@ async def send_time(message: types.Message):
|
|||||||
Base = declarative_base()
|
Base = declarative_base()
|
||||||
|
|
||||||
top = session.query(user.user_fullname, user.dick_size).order_by(user.dick_size.desc()).limit(10).all()
|
top = session.query(user.user_fullname, user.dick_size).order_by(user.dick_size.desc()).limit(10).all()
|
||||||
delimiter = ': '
|
red = '\n'.join(map(str, top))
|
||||||
|
|
||||||
await bot.send_message(message.chat.id, f'{red}')
|
await bot.send_message(message.chat.id, f'{red}')
|
||||||
# {top[0]}\n\сууука
|
# {top[0]}\n\
|
||||||
# {top[1]}\n\
|
# {top[1]}\n\
|
||||||
# {top[2]}\n\
|
# {top[2]}\n\
|
||||||
# {top[3]}\n\
|
# {top[3]}\n\
|
||||||
@ -133,6 +133,7 @@ async def send_time(message: types.Message):
|
|||||||
# {top[9]}ff')
|
# {top[9]}ff')
|
||||||
session.close_all()
|
session.close_all()
|
||||||
|
|
||||||
|
|
||||||
@dp.message_handler(commands=['start'])
|
@dp.message_handler(commands=['start'])
|
||||||
async def start_func(message: types.Message):
|
async def start_func(message: types.Message):
|
||||||
# user_id = message.from_user.id
|
# user_id = message.from_user.id
|
||||||
|
Loading…
Reference in New Issue
Block a user