Repository navigation
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|offturns the index on or off for a group.offalso 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.zipover the old files..envanddata/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