forked from Pavel_Durov/python_bot
add close_all_sesions
This commit is contained in:
parent
0391206ee6
commit
8682555bcb
@ -63,6 +63,7 @@ async def send_topchat(message: types.Message):
|
||||
chats = message.chat.id
|
||||
if changechat_id.chat_id != chats:
|
||||
changechat_id.chat_id = chats
|
||||
session.commit()
|
||||
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()
|
||||
session.close()
|
||||
|
Loading…
Reference in New Issue
Block a user