Skip to content

RayZen Pilot 4.1.0

Latest

Choose a tag to compare

@matttsys matttsys released this 18 Oct 17:50
· 3 commits to main since this release

RayZen Pilot 4.1.0

New: /purgeword

Deletes every message from the last 48 hours that contains a word.

  • /purgeword متین also matches attached forms: متینو, متینه, متین‌جان, متینجان. It ignores ي/ی, ك/ک, diacritics and half-spaces. ثمتین doesn't match.
  • Several spellings in one run, comma-separated: /purgeword متین، matin.
  • It always asks first: "N messages with «متین» from K people in the last 48h. Delete them?" with Yes / Cancel. Only the admin who asked can confirm.
  • Needs the Delete messages right, and the bot needs it too. It deletes everyone's matching messages, admins included.
  • Persian text command: «حذف کلمه متین». The AI assistant can do it too, and always shows the count first.
  • /purgeword on|off turns the index on or off for a group. off also clears it.

Privacy change

Bots can't search a Telegram chat, so the bot now keeps a 48-hour word index for /purgeword: normalized words plus chat, message id, sender id and time. It doesn't keep the message text. Rows older than 48 hours are deleted automatically. Commands and messages to the bot aren't indexed. /forgetme, /resetdata and /purgeword off remove the index.

Upgrading

The database moves to schema v2 on first start, and a backup is written to data/backups/ first.

  • VPS (git): cd RayZen-Pilot && git pull && sudo rayzen update vps
  • VPS (zip): sudo rayzen update rayzen-pilot-vps.zip
  • Panel: upload the new rayzen-pilot-host.zip over the old files. .env and data/ stay as they are.

Files

File For
rayzen-pilot-host.zip Bot host panels (Pterodactyl Python egg)
rayzen-pilot-vps.zip Linux servers with systemd, and Docker
rayzen-pilot-dev.zip Source + offline test suite (no secrets)
SHA256SUMS.txt Checksums

Full notes: CHANGELOG.md