change chatid in any chats
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pavel_Duron 2022-12-02 23:10:57 +10:00
parent 2234545bda
commit 25760e4c60

2
bot.py
View File

@ -114,6 +114,8 @@ chat_id = message.chat.id)
async def send_topchat(message: types.Message):
chats = message.chat.id
top = session.query(user.user_fullname, user.dick_size).order_by(user.dick_size.desc()).filter(user.chat_id == chats).limit(10).all()
top.chat_id = chats
session.commit()
delimiter = ': '
# проверка на длину списка, если меньше limit, то:'''