Repository navigation
v1.4.0
Version 1.4.0
Version 1.4.0 is a major feature, storage, and tooling update that brings together all improvements made since Version 1.3.0.
Languages
- The bot now speaks English and Chinese: replies, menus, buttons, and forms all have both versions, and slash command names are English for everyone.
- Command descriptions, parameters, and context-menu names follow the Discord client language.
- Servers choose their language with
/languageor the menu in the new#bot-guidechannel; members can set a personal language in direct messages. Servers that joined earlier keep Chinese. - Commands renamed to English:
/appeal,/appeal_status, and/message_log_settings. The context menus areReport messageandTranslate message. - Several commands are marked for personal-app use (
/help,/language,/osu,/user_info_osu,/mhy,/convert,/compress,/usage,/ir, and message translation). They appear once User Install is enabled in the Discord Developer Portal.
Storage and Reliability
- Introduced Oracle MySQL 8.4 storage with a verified migration tool for existing JSON and SQLite data, including backups and content checks. The old JSON mode remains available for development.
- Moved storage work off the Discord event loop, with a queue, cancellation handling, and recovery from MySQL failures; saved data is published to memory only after the save succeeds.
- Added service health checks, database status records, and live heartbeat metrics for the website.
- Fixed interaction timeouts, service interfaces, and heartbeat logging, and strengthened permission checks for bans and form submissions.
- Refactored Services to share one data-access pattern, with public query methods that return isolated copies.
Dashboard API and Website
- Added a dashboard API with live bot status, 24-hour and 7-day history, configuration checks, panel deployment, and account management.
- The website connects through a Cloudflare Tunnel with a shared secret; it never talks to the database directly.
File Tools
/convert,/compress,/usage, and/irshare one allowance between Discord and the website, with five tiers (Free., Run., Dash., Grow., Ultra.) that grow with time since first use.- Added NovaGrid, an image compression engine that picks lossless or lossy WebP by trial-encoding a sample grid and keeps the original file when nothing gets smaller.
- File processing can be handed to another computer on the local network through a portable, pinned-TLS worker package.
AI Image Review
- Bot avatar and banner changes can now be reviewed by three local vision models on a second computer: a fast pass, a middle pass that looks for what the first missed, and a strict final pass.
- An image is applied only when all three stages call it safe. If the models cannot decide, the request falls back to the original developer review.
- The review worker package installs Ollama and downloads the three models by itself on first start, and shows two review slots live in a terminal screen. Images stay in memory and are never written to disk.
Terminal Control Panel (Windows)
- Added a terminal control panel to start, stop, and restart the bot, with live status, host hardware, database health, and colored logs that merge repeated messages.
- Starting checks the environment and database in steps; a stopped local MySQL instance is started automatically.
- Added Nova, the BOT. mascot built from the logo and the NovaGrid engine, with a placeholder for AI usage.
- Added a desktop shortcut that brings an open panel to the front instead of opening a second one.
Developer Experience
- Added
install.py, a black-and-white terminal installer that downloads the project from GitHub, creates the virtual environment, installs dependencies, and writes an empty.env. It falls back to a ZIP download when git is missing and updates an existing install without touching.env. - Rewrote the README and the development guide against the source code, and updated the license to AGPL v3 with the author set to Keeiv.
- CI now also runs MySQL 8.4 integration tests; the test suite grew to more than 2,000 tests.
Version 1.4.0 makes the bot bilingual, moves its data to a verified database, adds file tools and AI-assisted review, and gives developers a faster way to get started. @keeiv @kusanagi-akane @MoriTeahouse