Add files via upload
This commit is contained in:
parent
4c1327413e
commit
f806c6449b
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ async def cmd_ends (message: types.Message):
|
||||||
if db_pymysql:
|
if db_pymysql:
|
||||||
try:
|
try:
|
||||||
#зберігалка: https://github.com/S1S13AF7/ub4tg (адреса може змінитись)
|
#зберігалка: https://github.com/S1S13AF7/ub4tg (адреса може змінитись)
|
||||||
dbc.execute(f"SELECT user_id,bio_str,expr_str FROM `tg_iris_zarazy` WHERE who_id = {user_id} AND expr_int < {when_int} ORDER BY `bio_int` DESC LIMIT 10;")# % int(user_id),int(when_int));
|
dbc.execute(f"SELECT user_id,bio_str,expr_str FROM `tg_iris_zarazy` WHERE who_id = {user_id} AND expr_int < {when_int} ORDER BY `bio_int` DESC, `when_int` DESC LIMIT 10;")
|
||||||
bz_info = dbc.fetchmany(10)#получить
|
bz_info = dbc.fetchmany(10)#получить
|
||||||
all_sicknes=[]#інфа
|
all_sicknes=[]#інфа
|
||||||
count=len(bz_info)
|
count=len(bz_info)
|
||||||
|
|
Loading…
Reference in a new issue