forked from Pavel_Durov/python_bot
fix
This commit is contained in:
parent
6f7989a5d6
commit
ff50eed8e7
6
bot.py
6
bot.py
@ -121,10 +121,10 @@ 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()).filter(user.chat_id == user.chat_id).limit(10).all()
|
top = session.query(user.user_fullname, user.dick_size).order_by(user.dick_size.desc()).filter(user.chat_id).limit(10).all()
|
||||||
delimiter = ': '
|
delimiter = ': '
|
||||||
|
|
||||||
await bot.send_message(message.chat.id, f'🏆<u>Топ 10 бубылд</u>🏆\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[0]))}\n\
|
||||||
💫 {delimiter.join(map(str, top[1]))}\n\
|
💫 {delimiter.join(map(str, top[1]))}\n\
|
||||||
🍆 {delimiter.join(map(str, top[2]))}\n\
|
🍆 {delimiter.join(map(str, top[2]))}\n\
|
||||||
@ -148,7 +148,7 @@ async def send_time(message: types.Message):
|
|||||||
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 = ': '
|
delimiter = ': '
|
||||||
|
|
||||||
await bot.send_message(message.chat.id, f'🏆<u>Топ 10 бубылд</u>🏆\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[0]))}\n\
|
||||||
💫 {delimiter.join(map(str, top[1]))}\n\
|
💫 {delimiter.join(map(str, top[1]))}\n\
|
||||||
🍆 {delimiter.join(map(str, top[2]))}\n\
|
🍆 {delimiter.join(map(str, top[2]))}\n\
|
||||||
|
Loading…
Reference in New Issue
Block a user