forked from Pavel_Durov/python_bot
change chatid in any chats
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):
|
||||
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, то:'''
|
||||
|
Loading…
Reference in New Issue
Block a user