This commit is contained in:
parent
103f6222fa
commit
3dd2b32086
4
bot.py
4
bot.py
@ -116,7 +116,7 @@ async def send_topchat(message: types.Message):
|
||||
chats = message.chat.id
|
||||
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()
|
||||
|
||||
delimiter = ': '
|
||||
@ -151,7 +151,7 @@ async def send_topchat(message: types.Message):
|
||||
🌶 {delimiter.join(map(str, top[7]))}\n\
|
||||
👌 {delimiter.join(map(str, top[8]))}\n\
|
||||
💩 {delimiter.join(map(str, top[9]))}\n')
|
||||
session.close_all()
|
||||
session.close()
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user