change chatid in any chats
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
2234545bda
commit
25760e4c60
2
bot.py
2
bot.py
@ -114,6 +114,8 @@ chat_id = message.chat.id)
|
|||||||
async def send_topchat(message: types.Message):
|
async def send_topchat(message: types.Message):
|
||||||
chats = message.chat.id
|
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 = 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 = ': '
|
delimiter = ': '
|
||||||
|
|
||||||
# проверка на длину списка, если меньше limit, то:'''
|
# проверка на длину списка, если меньше limit, то:'''
|
||||||
|
Loading…
Reference in New Issue
Block a user