forked from Pavel_Durov/python_bot
fix local top
This commit is contained in:
parent
cc6627f664
commit
f1a147ead3
2
bot.py
2
bot.py
@ -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\
|
||||||
|
Loading…
Reference in New Issue
Block a user