Repository navigation
Releases
Releases · yhymid/Operator
2.0 - Rust Update
Changed
- The bot is written in Rust now (the JavaScript version is gone): one small binary, lower
memory use, faster start. - Admins are recognised by numeric ID only (
ADMIN_IDS); usernames can be taken over. - Updates from different chats are handled in parallel, so one slow chat does not block the
others.
Added
- A limit of queued downloads per user (
YTDLP_QUEUE_MAX_PER_USER, default 3). - An optional list of chats the bot answers in (
ALLOWED_CHAT_IDS). - Website copies of large videos expire after
YTDLP_WEBSITE_TTL_HOURS(default 24). - Server scripts: release install with health check and rollback, daily backup, failure
notifications, journal size limit.
Fixed
- Links to local and private addresses are refused before yt-dlp runs.
- Cancel buttons cancel the job they were shown for, not whatever is at that queue position.
- Cancel also stops a paused download and its helper processes; a hung process is killed.
- Time spent in
/ytdlp_admin pauseno longer counts towards the download time limit. - Cleanup of website pages only removes pages the bot created.
2.0 - Rust Update
Changed
- The bot is written in Rust now (the JavaScript version is gone): one small binary, lower
memory use, faster start. - Every command, reply, panel and log message is in English.
/music mode:...is replaced by plain commands:/play,/pause,/resume,/skip,
/stop,/queue,/nowplaying,/volume,/remove,/move,/clear,/loop,
/reconnect./logs,/verify,/clean,/settings,/debugand/cacheuse subcommands
(/logs setup,/verify status, ...) and show only the options that apply./cleanis available to administrators, not only the bot owner./helpis a single button panel;/healthis a four-line overview with problems listed
only when there are any.- Server logs are cards with a colour per kind of event, the member's avatar, before/after
text for edits, the moderator and reason from the audit log, IDs and a jump link.
Added
/ytdlp audio:trueposts the sound only (MP3), with limits on video length and file size.- Logs cover timeouts, deletes and edits of messages sent before the bot started, and name the
moderator for role changes. - AutoMod also checks edited messages and catches blocked words written with accents, digits
for letters or invisible characters. - The bot leaves the voice channel when it is alone.
- Owner commands:
/cookies,/update(yt-dlp, the Lavalink YouTube plugin built from
source, system packages, both bots),/sync,/servers,/presence,/restart. - Server scripts: release install with health check and rollback, daily backup, failure
notifications, journal size limit.
Removed
/announceand scheduled announcements./music(see above).
Fixed
/ytdlpand/playrefuse links to local and private addresses.- AutoClean no longer deletes messages of protected roles it had not cached.
- Replies never ping
@everyoneor roles through track titles or error texts. - A corrupt server data file is kept aside instead of being overwritten with defaults.
- Concurrent setting changes no longer overwrite each other.