forked from Pavel_Durov/python_bot
fix
This commit is contained in:
parent
ff50eed8e7
commit
550406f699
22
bot.py
22
bot.py
@ -145,20 +145,20 @@ async def send_time(message: types.Message):
|
||||
session = Session()
|
||||
Base = declarative_base()
|
||||
|
||||
top = session.query(user.user_fullname, user.dick_size).order_by(user.dick_size.desc()).limit(10).all()
|
||||
top_chat = session.query(user.user_fullname, user.dick_size).order_by(user.dick_size.desc()).limit(10).all()
|
||||
delimiter = ': '
|
||||
|
||||
await bot.send_message(message.chat.id, f'🏆Топ 10 пипис в мире🏆\n\n\
|
||||
🚀 {delimiter.join(map(str, top[0]))}\n\
|
||||
💫 {delimiter.join(map(str, top[1]))}\n\
|
||||
🍆 {delimiter.join(map(str, top[2]))}\n\
|
||||
🍌 {delimiter.join(map(str, top[3]))}\n\
|
||||
🐍 {delimiter.join(map(str, top[4]))}\n\
|
||||
🐎 {delimiter.join(map(str, top[5]))}\n\
|
||||
🌭 {delimiter.join(map(str, top[6]))}\n\
|
||||
🌶 {delimiter.join(map(str, top[7]))}\n\
|
||||
👌 {delimiter.join(map(str, top[8]))}\n\
|
||||
💩 {delimiter.join(map(str, top[9]))}\n')
|
||||
🚀 {delimiter.join(map(str, top_chat[0]))}\n\
|
||||
💫 {delimiter.join(map(str, top_chat[1]))}\n\
|
||||
🍆 {delimiter.join(map(str, top_chat[2]))}\n\
|
||||
🍌 {delimiter.join(map(str, top_chat[3]))}\n\
|
||||
🐍 {delimiter.join(map(str, top_chat[4]))}\n\
|
||||
🐎 {delimiter.join(map(str, top_chat[5]))}\n\
|
||||
🌭 {delimiter.join(map(str, top_chat[6]))}\n\
|
||||
🌶 {delimiter.join(map(str, top_chat[7]))}\n\
|
||||
👌 {delimiter.join(map(str, top_chat[8]))}\n\
|
||||
💩 {delimiter.join(map(str, top_chat[9]))}\n')
|
||||
session.close_all()
|
||||
|
||||
@dp.message_handler(commands=['start'])
|
||||
|
Loading…
Reference in New Issue
Block a user