Build a Discord-like TCP Chat Server with Slash Commands, Rooms, Reconnection, and Persistence

Asked at Discord · System Design for ML · Difficulty: Hard · Last asked Jul 15, 2026

Build a runnable multi-client TCP chat server with slash commands, chat rooms, per-room history, reconnection, and persistence across restarts.

Loading the problem…