Not exactly about Discord, but I once looked into GPUI, saw the Cargo.toml file and decided to give up on Rust UIs forever.