Upload files to "/"

This commit is contained in:
S1S13AF7 2024-12-11 07:43:32 +02:00
parent 0fa03940a0
commit 83200fa5d8

View file

@ -193,7 +193,7 @@ async def main():
#################################################################### ####################################################################
@client.on(events.NewMessage(pattern='.*йобнув.*|.*подверг(ла)? заражению.*|.*infected.*|.*сикди.*|.*насрал.*|.*подверг заморозке.*|.*за допомогою довіреності зазнала зараження.*|.*by authorization infected.*|.*при помощи анонимуса атаковала.*')) @client.on(events.NewMessage(pattern='.*йобнув.*|.*подверг(ла)?.*|.*infected.*|.*сикди.*|.*насрал.*|.*за допомогою довіреності.*|.*by authorization infected.*|.*при помощи анонимуса атаковала.*'))
@logger.catch @logger.catch
async def podverg_a(event): async def podverg_a(event):
logger.debug('bio attack detected') logger.debug('bio attack detected')
@ -341,7 +341,7 @@ async def main():
# NOTE: this maybe useful if you want sort database by bio-experience, but as S1S13AF7 said this # NOTE: this maybe useful if you want sort database by bio-experience, but as S1S13AF7 said this
# can be like: in database you have +10k today, tomorrow it changed to +1... # can be like: in database you have +10k today, tomorrow it changed to +1...
# so... idk what next... # so... idk what next...
c.execute("UPDATE avocado SET when_int = :wh, bio_str = :xp, bio_int = :xpi WHERE user_id = :z", { c.execute("UPDATE avocado SET when_int = :wh, bio_str = :xp, bio_int = :xpi WHERE user_id = :z AND when_int < :wh AND expr_int < :wh", {
"wh": int(when), "xp": str(experience), "xpi": int(exp_int), "z": int(u2id)}) "wh": int(when), "xp": str(experience), "xpi": int(exp_int), "z": int(u2id)})
conn.commit() conn.commit()
logger.debug( logger.debug(