fix local top

This commit is contained in:
Pavel_Duron 2022-12-02 18:37:45 +10:00
parent cc6627f664
commit f1a147ead3

2
bot.py
View File

@ -112,7 +112,7 @@ chat_id = message.chat.id)
@dp.message_handler(commands=["topdick"]) @dp.message_handler(commands=["topdick"])
async def send_topchat(message: types.Message): async def send_topchat(message: types.Message):
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 == message.chat.id).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\