Skip to content

KortzLab project

Miwi

An all-in-one Discord bot for security, moderation, music, tickets and a global economy, with a live web dashboard, a Premium edition and a public website.

Miwi — Discord bot & SaaS web platform

About this project

Miwi is an all-in-one Discord bot built to replace the five or six separate bots most communities run. Security, AutoMod, moderation, logging, music, tickets, welcome messages, levels, giveaways, roles, games and a global economy all live in one bot, one setup and one dashboard, so the features work together instead of fighting over permissions.

Security comes first and is never behind a paywall. Antinuke watches dangerous actions such as mass bans, channel and role deletions and permission changes with per-action limits, and punishes anyone who crosses them instantly. It is backed by whitelists, lockdown mode, server snapshots with one-click revert, a quarantine role, anti-raid join protection and an AutoMod with an escalation ladder.

Every command works as a slash command and most also work with a prefix. Setup is an interactive menu inside Discord, and every module can also be configured from a web dashboard where changes apply to the bot instantly. Replies use Discord's newest message components and a custom emoji pack, including original animated artwork for the economy's coin flips, slot machines and other games.

The music system plays from Spotify, Apple Music, Deezer, SoundCloud and more, with a live control panel, audio filters, autoplay, playlists, synced lyrics and playback that survives bot restarts. The economy is global across every server: players earn Miwi Cash through daily rewards, jobs and gathering, collect and battle creatures, craft items, and play a casino where every game is a fair, cryptographically random roll with published odds.

Miwi ships as a family of products: the free main bot; Miwi Prime, a Premium edition with its own branding that runs from the same codebase; a Support Manager bot for the support server; and a Next.js website with documentation, tutorials, a public status page, a server discovery directory, Premium profile pages and an owner control panel.

Detail

Engineering highlights: a sharded, multi-process bot with a cluster supervisor and Redis heartbeats; a NestJS API with Discord OAuth, payment webhooks (Patreon, Razorpay, crypto) and live WebSocket updates; PostgreSQL with hand-written migrations, where one database serves both bot editions; database-level transaction logging; Lavalink music nodes with automatic failover; and staff tooling with audit logs, system logs and an owner dashboard. The platform is self-hosted with Docker on a two-server setup (application and data) behind Caddy with automatic HTTPS, and is covered by automated tests across the bot, API, database and website.

Miwi – All-in-One Discord Bot & Web Dashboard | Case Study | KortzLab