fix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pavel_Duron 2022-12-01 19:48:51 +10:00
parent ff50eed8e7
commit 550406f699

22
bot.py
View File

@ -145,20 +145,20 @@ async def send_time(message: types.Message):
session = Session() session = Session()
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_chat = session.query(user.user_fullname, user.dick_size).order_by(user.dick_size.desc()).limit(10).all()
delimiter = ': ' delimiter = ': '
await bot.send_message(message.chat.id, f'🏆Топ 10 пипис в мире🏆\n\n\ await bot.send_message(message.chat.id, f'🏆Топ 10 пипис в мире🏆\n\n\
🚀 {delimiter.join(map(str, top[0]))}\n\ 🚀 {delimiter.join(map(str, top_chat[0]))}\n\
💫 {delimiter.join(map(str, top[1]))}\n\ 💫 {delimiter.join(map(str, top_chat[1]))}\n\
🍆 {delimiter.join(map(str, top[2]))}\n\ 🍆 {delimiter.join(map(str, top_chat[2]))}\n\
🍌 {delimiter.join(map(str, top[3]))}\n\ 🍌 {delimiter.join(map(str, top_chat[3]))}\n\
🐍 {delimiter.join(map(str, top[4]))}\n\ 🐍 {delimiter.join(map(str, top_chat[4]))}\n\
🐎 {delimiter.join(map(str, top[5]))}\n\ 🐎 {delimiter.join(map(str, top_chat[5]))}\n\
🌭 {delimiter.join(map(str, top[6]))}\n\ 🌭 {delimiter.join(map(str, top_chat[6]))}\n\
🌶 {delimiter.join(map(str, top[7]))}\n\ 🌶 {delimiter.join(map(str, top_chat[7]))}\n\
👌 {delimiter.join(map(str, top[8]))}\n\ 👌 {delimiter.join(map(str, top_chat[8]))}\n\
💩 {delimiter.join(map(str, top[9]))}\n') 💩 {delimiter.join(map(str, top_chat[9]))}\n')
session.close_all() session.close_all()
@dp.message_handler(commands=['start']) @dp.message_handler(commands=['start'])