This commit is contained in:
parent
0391206ee6
commit
8682555bcb
@ -63,6 +63,7 @@ async def send_topchat(message: types.Message):
|
|||||||
chats = message.chat.id
|
chats = message.chat.id
|
||||||
if changechat_id.chat_id != chats:
|
if changechat_id.chat_id != chats:
|
||||||
changechat_id.chat_id = chats
|
changechat_id.chat_id = chats
|
||||||
|
session.commit()
|
||||||
session.close()
|
session.close()
|
||||||
top = session.query(user.user_fullname, user.dick_size).order_by(user.dick_size.desc()).filter(user.chat_id == chats).limit(10).all()
|
top = session.query(user.user_fullname, user.dick_size).order_by(user.dick_size.desc()).filter(user.chat_id == chats).limit(10).all()
|
||||||
session.close()
|
session.close()
|
||||||
|
Loading…
Reference in New Issue
Block a user