System Updates & Patch Notes

Track the evolution of Hana. Real-time insights into new Discord slash commands, economy updates, and critical bug fixes.

Latest Patch Notes Summary (v3.7.0): The newest update to Hana Discord Bot introduces strict Components V2 Architecture compliance with flawless inline MediaGallery rendering. It also deploys a massive AI Safety & Compliance sweep to automatically purge ERP-violating server instructions, and engineers Enterprise Auto-Heal Database Logic to permanently prevent JSON corruption. Review the full changelog below for details.

Latest Deployment
v3.7.0 May 1, 2026
New Features: Inactivity, Dashboard API & Utilities
  • Smart Inactivity Pruning: Engineered a brand new /inactivity dashboard suite. Safely prune dead accounts using a persistent "Drip-Feed Queue" that bypasses Discord API rate limits by processing batches over multiple days, complete with Auto-Restore on bot reboots.
  • Dashboard API Connectivity: Opened a secure internal API gateway to synchronize live user preferences (Timezones, VC TTS, Roleplay Toggles, Economy Pacifist Mode) directly with the external PHP Web Dashboard.
  • Server Statistics & Suggestions: Deployed /setup_stats to generate dynamic Voice Channels that track live Member counts, and added a localized /suggest system with auto-reactions for server feedback.
  • Knowledge Suite: Added /describe (AI-powered Wiki summaries via Gemini 1.5 Flash) and /define (Standard Dictionary API) to the general utility suite.
Architecture: Components V2 & Auto-Heal
  • Strict V2 Compliance: Eradicated forbidden content kwargs from LayoutViews. Pings are now natively routed through V2 TextDisplay components via explicit AllowedMentions.
  • MediaGallery Rendering: Flawless V2 MediaGallery & MediaGalleryItem implementation for inline native graph rendering and generated images across the Economy and Games cogs.
  • Enterprise Auto-Heal: Engineered Dynamic Path Resolution, Enterprise Auto-Heal Database Logic, and Emoji Name-Shift Fallbacks for Reaction Roles to permanently prevent JSON corruption.
  • UX & Tone Polish: Adjusted Meme/Media commands to prioritize the 'user' parameter, made fields optional, and replaced sci-fi terminology with readable English. Cleaned up language and explicitly stated 'who' in public Voice Creator actions.
Security & Bug Fixes
  • Global Safety Sweep: Implemented a global startup sweep for ERP instructions across all servers. Automated Owner DMs for system purges to ensure strict TOS compliance.
  • Zero-Tolerance Mode: Eliminated the fast-path safety bypass in the AI Engine. Replaced command exceptions with clean UI rejections for a pristine, professional user experience.
  • Graceful Error Handling: Replaced generic AppCommandErrors with graceful inline V2 error layouts to prevent false-positive crash logs. Hardened Color Roles against NoneType caching crashes.
  • Discord.py 2.7 Compatibility: Fixed an internal D.py 2.7 TypeError (len on NoneType). Swapped embeds=None to embeds=[] in edit_message for safe payload cleansing.
  • API Truncation & Signatures: Enforced Zero-Truncation for Image processing. Fixed Popcat API HTTP 422/400 errors by properly URL-encoding Discord's strict CDN signatures.
v3.6.1 April 21, 2026
Improvements: Live Progress & Stability
  • AutoRole Live Sync: Injected Visiuun-tier live progress feedback ([▰▰▰▱▱]) for retroactive role syncing operations to provide real-time updates without hitting rate limits.
Bug Fixes: 10062 Interactions
  • Robust Deferrals: Patched 404 Unknown Interaction errors by implementing robust deferral try-catch blocks, and deployed a cog-level global error silencer to keep console logs pristine when Discord drops 10062 errors.
v3.6.0 April 21, 2026
New Features: Omni-Channel Birthdays & Temporal Sync
  • Exact Midnight Triggers: Hana now cross-references your exact geographic timezone to announce your birthday the exact second it strikes midnight locally, completely bypassing rigid UTC limitations.
  • Social Subscriptions & DMs: Click "Get Notified" on a friend's profile. Hana will slide into your DMs precisely when their birthday begins so you can be the first to wish them well.
  • Embedded Memory Ledgers: The new "Wish Happy Birthday" button in server announcements builds a public, growing list of well-wishers. Powered by our new regex-based state reconstruction, this ledger survives bot crashes and restarts with zero data loss.
  • Viral Call-Out Loops: Querying a friend who hasn't set their birthday no longer throws an error. It pings them publicly with a sleek UI button to set it up instantly via a zero-friction modal.
Improvements: Privacy & UI UX
  • Micro-Privacy Dashboard: Complete control over your data. A new stateless dashboard allows you to disable your birthday announcements on a server-by-server basis, or toggle a global opt-out, without losing your DM subscriptions.
  • Zero-Friction Onboarding: Users who fail to set a timezone are no longer blocked from using the birthday system. They are allowed to proceed with a dynamic UTC-fallback and a public footer urging them to set their timezone later.
  • Omni-Channel Execution: Engineered the entire Birthday Suite to execute seamlessly within Direct Messages, Private Group Chats, and Servers by enabling User App Installations context routing.
v3.5.1 April 19, 2026
New Features: Server Tribunal & Announcer
  • Server Tribunal Appeals: Engineered the interactive appeals system for moderation. Banned users can submit formal appeals via DM. Implemented dynamic Custom ID tokenization for stateless view recovery, and added the /mod appeal-channel configuration.
  • Visual Announcer Logs: Engineered Visual Announcer Logs with auto-cleaning mechanics for Voice Channels. Includes a 'Wave 👋' social growth hook injected into Join embeds to drive up active text-channel engagement alongside voice sessions.
Improvements: Viral Growth & UX
  • Weaponized Social Sharing: Appended persistent "Add Hana" growth hooks directly to downloaded media outputs to drive organic growth. Injected identical loops into highly shareable commands (Compare Height, Weather, Urban Dictionary).
  • Outfit & Vibe Checks: Upgraded the /weather command to include dynamic outfit and vibe recommendations based on the current temperature.
  • Social Call-Out Upgrades: Enhanced the missing-timezone embed to actively ping and socially convert un-registered target users. Handled the "Ghosted" edge-case for deleted data.
Bug Fixes: API Parsers
  • File Detection & Payloads: Secured yt-dlp asynchronous file detection and fixed Catbox API payload requirements to prevent download failures.
  • Aiohttp Content-Type Bypass: Bypassed aiohttp's strict Content-Type checking for the wttr.in API, permanently fixing the application/text crash error.
v3.5.0 April 18, 2026
New Features: Ticket & Support Updates
  • Native HTML Transcripts: Completely rebuilt the ticket closing slash commands. Hana now compiles beautiful, zero-dependency HTML transcripts using Discord's native CSS formatting completely locally.
  • Stateless UI Modals: Replaced temporary memory mapping with strict custom_id bindings, allowing Discord ticket panels to survive bot restarts indefinitely.
  • Post-Support Conversion Loop: Upon ticket closure, users receive an automated DM containing their HTML transcript and a sleek "Rate your support" embed driving organic bot invites to their own servers.
v3.4.1 April 17, 2026
Core Updates: Global Architecture & Viral Loops
  • The Onboarding Hub: Transformed the basic /help command into a high-converting Onboarding Hub. Injected the Viral Architect Protocol (Invite & Support buttons), normalized memory with slots, and deployed a visually stunning pitch embed.
  • Flex Wealth Hook: Added a highly visible "Flex Wealth" button to the Discord economy dashboard, enabling users to instantly broadcast their Net Worth and Global Rank to the active chat channel.
  • Media Viral Views: Injected the ViralMediaView alongside custom branded footers into all generated outputs (FFmpeg creations, AI image labs) to drive organic bot invites via meme-sharing.
Improvements & System Polish
  • Streamlined UX: Vaporized localized error handling across Economy, Games, and Media Editor cogs. All errors are now funneled into main.py's global interceptor, providing pristine ephemeral feedback without channel spam.
  • Color Roles: Removed the "Show Off" viral growth feature, streamlining the user experience to be purely functional, private, and fast.
Bug Fixes & Logic Rectifications
  • Roleplay Leaderboard Sorting: Fixed a critical flaw in the leaderboard compilation. It now correctly sorts numerically by the interaction count instead of lexicographically sorting by Discord user IDs.
  • Blacklist Visibility: Restored public visibility for blacklist command rejections to ensure users know exactly why their commands were intercepted by the Discord API.
  • O(N) Complexity Marriage Fix: Prevented a catastrophic 429 Rate Limit chain by shifting the time delta evaluation before the Discord API fetch. 0 API calls are now executed for healthy marriages.
v3.4.0 April 16, 2026
Core Updates: Stability & Security
  • Temporal Semantic Anti-Spam: Engineered an advanced VC TTS anti-spam shield integrating Discord AutoMod's strict anti-bypass sanitization (zero-width stripping, NFD normalization, homoglyph translation). Blocks repetitive payloads natively.
  • Strict Memory Slots: Upgraded global dataclasses across AutoMod, Moderation, and Levels with slots=True for zero-overhead memory execution at hyper-scale.
Configuration Enhancements
  • ServerInfo Purge: Restored the original flawless description logic for the /serverinfo slash command, nuked the bloated channel configs from the security panel, and maintained the cache-first architecture.
  • Status Reporter: Optimized the payload interval and integrated strict type hinting to enhance Discord API reliability.
Bug Fixes & Hotfixes
  • Timezones Error 50001: Patched the fatal discord.errors.Forbidden in the Timezone View. Button interactions now route exclusively through webhook tokens to bypass channel permission mutability.
  • AutoMod & Levels Fixes: Intercepted and eliminated an edit-bypass loophole in AutoMod, and eradicated a ZeroDivisionError in chart generation logic via forced max-value clamps.
  • Moderation Hierarchy: Patched a fatal NoneType comparison crash during hierarchy validations and introduced robust concurrent execution for the timed unban engine.
  • AutoRole Fallback: Engineered a bulletproof caching fallback. Resolves the critical hierarchy comparison crash in high-scale/sharded architectures where the bot's own member object isn't instantly cached.
v3.3.1 April 8, 2026
New Features: Media & Assets Optimization
  • Age Verification Wizards: Achieved 100% Persistent Setup Wizards with dynamic auto-reconstruction across bot restarts. Added ultra-sleek live progress loading bars for deployment feedback.
  • Bitrate Starvation: Re-engineered the /fry media slash command to utilize raw FFmpeg bitrate starvation and GOP manipulation for authentic compression artifacts, entirely removing cheap pixelation filters.
Improvements: Visual Generation Polish
  • Greetings Overhaul: Complete architectural overhaul for graphical welcomes. Implemented concurrent aiohttp asset fetching and dynamic fallbacks.
  • Booster Card Improvements: Upgraded the dynamic ImageGenerator to natively default to the Server Icon as the background while retaining custom URL overrides.
Bug Fixes: Permissions & Concurrency
  • Greetings Audit Log Fix: Stabilized the audit log race condition for kicks/bans tracking within the Discord API.
  • Silent Perm Failures: Fixed an issue where the bot would attempt to generate a welcome image without having attach_files permissions in the target channel.
v3.3.0 April 7, 2026
Core Updates: UI & Async Overhaul
  • Advanced Media Downloader: Implemented real-time asynchronous UI progress tracking and exponential backoff for API uploads. Built strictly thread-safe Persistent Views for seamless user-driven media deletion.
  • Discord Music Revamp: Replaced Monochrome with direct YouTube Music integration. Restored the /music command group, now featuring live search feedback and a dynamically paginated song queue.
  • Color Role Panels: Added dynamic, persistent interactive Color Panels with chunked buttons for beautiful, seamless user assignment.
  • Fun Text Consolidation: Migrated all text filters to a dedicated /text slash command group. Added 8 new advanced manipulation features (mock, owo, leet, morse, flip, zalgo, space, binary) with strict truncation safety to prevent API errors.
Improvements: System Enhancements
  • Reaction Roles Data: Implemented fully asynchronous JSON handling, added channel selection for add/remove commands, and created a sleek new /list command.
  • Giveaways & Boosts: Transitioned both systems to an asynchronous dataclass-driven config manager. Enhanced the Booster Welcome Card with premium rendering and added live participant counters to Giveaways.
  • Mass Role Management: Mass assignment/removal now features dynamic live progress tracking, strict target validation, hierarchy safety checks, and robust interaction timeout fallback handling.
  • Dynamic Userinfo: The /userinfo embed color is now dynamically calculated by mathematically averaging the dominant colors of the user's avatar and profile banner.
  • AFK Polish: Implemented robust async data handling and strict mention cooldowns to prevent channel spam when pinging an AFK user.
Bug Fixes: Engine Fixes
  • VC Music Crash: Fixed a catastrophic FFmpeg local file crash by cleanly separating stream and local FFmpeg options in the architecture.
v3.2.0 March 25, 2026
Improvements: Architecture Scaling
  • Reminder Privacy: Added public/private visibility options for the /remindme slash command via an ephemeral toggle. Strictly typed all components and optimized file operations to be non-blocking.
  • Global Command Restructuring: Grouped all moderation commands into a master /mod group, and all voice/TTS features into a /tts group. This significantly frees up the global Discord application command limits.
  • Vector-Accurate Image Editing: Completely overhauled the image editor _speech_logic. It now generates a perfect, vector-accurate ESMbot-style transparent speech bubble using a dual-pass masking algorithm.
Bug Fixes: Interaction Stability
  • Eradicated Timeout Errors: Implemented universal preemptive deferral on all slash commands within the Games and Economy cogs to permanently fix NotFound 10062: Unknown interaction errors.
  • API Reliability: Swapped the defunct api.quotable.io endpoint with ZenQuotes. Moved aiohttp session initialization to cog_load to prevent async loop warnings, and completely overhauled API error handling to stop console spam.
v3.1.0 March 22, 2026
New Features: Hana's Blessing & Loot
  • Weekend Event (Hana's Blessing): Automatically triggers every weekend! Logging in grants you 50x Hana's Protections (saves half your bet on gambling losses) and 10x Golden Shrimps (guarantees Epic+ fish at the docks). Unused event items expire on Monday!
  • Lootboxes from Fishing: The fishing docks just got an upgrade! You can now catch Basic Crates, Premium Crates, and even the highly coveted Mythic Chests directly from the water.
  • System Reset Protocol: Added a secure backend /econ owner-wipe command for developers to perform a clean global reset. Grants all users a fresh starter kit: 30,000 Chips, 300 Fishing Baits, and 5 Mythic Chests.
Improvements: Balancing & Market Logic
  • Discord Stock Dividends: Shareholders rejoice! Weekly dividends now pay out a massive 10,000 Chips per 1.0 of stock value. This is paid out to both the company owner and all shareholders.
  • Market Caps & Cooldowns: Player IPO stocks are now hard-capped at 500 Chips maximum value. To prevent pump-and-dump abuse, the investor price buff (+0.2) now has a strict 1-day cooldown per ticker.
  • Minigame Betting Limits: Maximum bets for Blackjack, Coinflip, and Roll have been adjusted to 2,000 Chips. The Crash game retains its 10,000 Chip limit, but the rocket will now auto-detonate at a maximum 3.0x multiplier.
  • Fishing & Bait Buffs: Premium Fishing Bait now completely filters out Trash and Common catches, ensuring you only reel in Uncommon or better. Sell values for all fish have been significantly increased!
Bug Fixes: Stability & Session Fixes
  • Game Session Overwriting: Starting a new minigame while one is already active will now automatically cancel your previous session, preventing annoying UI soft-locks and command clutter.
  • Fishing "Interaction Failed": Fixed the dreaded timeout bug when waiting for a fish to bite by optimizing backend deferrals and response handling.
  • CheckFailure Crashes: Eliminated silent slash command crashing bugs caused by the account-age validator.
v3.0.0 March 21, 2026
Core Updates: V3 Economy Overhaul
  • Discord Economy Reset: A full economy reset was performed. All player stocks and portfolios have been wiped. Existing users have been compensated with a fresh start of 50,000 Chips, with top players receiving additional rewards.
  • Stock Market 2.0: The player stock market is back and completely overhauled. IPOs now start at a stable 100 Chips, are capped at 500 Chips maximum value, and are driven by new dynamic events.
  • Anti-Abuse Engine: Implemented a powerful new "Alt-Killer" system to detect and freeze accounts involved in suspicious, consecutive money transfers, ensuring a fair market for all.
  • Spam Prevention: A global anti-flood system now prevents users from playing multiple games simultaneously, ensuring bot stability and preventing Discord API rate-limit abuse.
Improvements: Balancing & Gameplay
  • Market Volatility: Player stock price is now influenced by both game activity (+0.1/-0.2 swings per 100 games) and unique investor buy-ins (+0.2 per new investor daily).
  • Betting Caps: All gambling commands (/slots, /crash, etc.) now have a maximum bet of 10,000 Chips.
  • Share Limits: Users can now own a maximum of 50,000 shares of any given stock. The /buy-stock slash command will auto-adjust to the max if you try to overbuy.
  • Transaction Limits: The /pay command is now capped at 50,000 daily and 300,000 monthly to curb abuse.
  • Slots Rebalance: A dynamic win-rate system has been implemented for slots. Win rates now dynamically fluctuate based on live server time blocks, rewarding strategic timing over blind spamming.
  • Fishing Rebalance: Fish sell values have been significantly increased to make fishing a more rewarding and viable activity.
Bug Fixes & UI Polish
  • Stock Market UI: The /market command now features a clean pagination system to handle a large number of stocks without breaking.
  • Graph Rendering: Fixed text overlapping and missing character bugs in all generated stock graphs.
  • Database Stability: Fixed a `KeyError: 'base_price'` crash in the market's background task caused by legacy data. The system now gracefully handles and self-heals from such errors.
v2.11.0 March 21, 2026
New Features: Automated Marriage Lifecycle
  • Inactivity Tracking: Hana now actively monitors marriages. Checking your status with /relationship will reset your activity timer.
  • DM Warnings: If a couple goes 4 months without interacting, Hana will DM both users with an interactive button to renew their vows and prevent annulment.
  • Dead-Account Cleanup: Marriages inactive for 6 months, or where both users have deleted their Discord accounts, are now automatically annulled. This keeps the Global Leaderboard fresh and competitive!
Improvements: System Architecture
  • Data Schema Migration: The global marriage_data.json was seamlessly upgraded to support complex dictionary metadata without losing any existing relationship data.
v2.10.0 March 21, 2026
New Features: Player Stock Market
  • Go Public: Wealthy players (Top 5 Global Richest & 5M+ net worth) can now IPO with /games stock-ipo to become publicly traded assets on the market.
  • Dynamic Pricing & Kickbacks: Stock prices are directly tied to the listed player's live net worth. Plus, anytime someone buys your stock, you get a 10% direct investment kickback!
  • Full Trading Suite: Manage your investments with /games stock-market, /games stock-buy, /games stock-sell, and /games stock-portfolio.
Improvements: Economy Balancing & Anti-Botting
  • Daily Usage Limits: Added a strict 300-game daily limit to all economy-impacting games (Slots, Fishing, RPS, etc.) to prevent macro botting, server overload, and encourage healthy play habits.
Bug Fixes: Architecture & Stability
  • DM Command Compatibility: Expanded allowed contexts so mini-games and economy commands correctly function in Direct Messages and Private Channels.
  • Economy Fallbacks: Improved cross-cog dependency resolution to prevent crashes if the core Discord Economy module is temporarily offline or renamed.
v2.9.0 March 19, 2026
New Features: Full Economy Suite
  • Engaging Gameplay Loop: Added a complete economy system with /games work, /games crime, /games rob, /games beg, and /games pay.
  • Competitive Leaderboards: Track who's on top with the new /games richest global leaderboard.
  • Roleplay-Economy PvP: Damaging roleplay actions (slap, kill, etc.) now have a chance to steal Chips from the target, which are looted by the attacker. Added a massive variety of humorous flavor text for these events.
Improvements: System Integrity Overhaul
  • Persistent Cooldowns: All Economy and Roleplay cooldowns are now saved to disk. This means cooldowns for commands like /games daily and /roleplay will now correctly survive bot restarts and crashes, preventing abuse.
  • Atomic Saves & Data Integrity: All economy balance changes now trigger an immediate, non-blocking save to disk. This architecture guarantees zero data loss from transactions even if the bot crashes unexpectedly.
Bug Fixes: Critical Fixes
  • Interaction Stability: Fixed a critical `404 Unknown Webhook` crash in the Roleplay system by implementing aggressive `defer()` calls and correcting the logic for fetching interaction responses.
  • API Reliability: Patched `aiohttp.client_exceptions.ClientConnectorDNSError` in the Fun API cog and replaced a dead quotes API with a reliable alternative to prevent command failures.
v2.8.0 March 18, 2026
New Features: Global Marriage System
  • Tie the Knot: Added a complete, global cross-server marriage system. Propose with /marry, view your status with /relationship, or break hearts with /divorce.
  • Dynamic Glassmorphism Cards: Both /marry and /divorce now generate beautiful, custom PIL-rendered image cards featuring the users' avatars in a high-fidelity glassmorphism aesthetic.
  • Strict Monogamy: Enforced single-partner logic. You cannot send or receive marriage requests if you are already married.
  • Global Leaderboard: Compete for the longest-lasting relationships across all Discord servers via /marriage-leaderboard.
Improvements: Voice & Roleplay Upgrades
  • VC Permission Sync: Added a sync_permissions toggle to /vc setup. Newly created temporary voice channels now perfectly inherit the allowed/denied role whitelists of their parent category.
  • Smart VC Locks: The /vc lock and /vc unlock commands have been rewritten to automatically account for and manage whitelisted roles alongside the standard @everyone permissions.
  • Roleplay Security: Added explicit disclaimers to /rp-config regarding the visual nature of restricted actions (Eat, Stomp) when Server Managers attempt to enable them.