fn shorten_name(name: &str, length: usize) -> String
Shorten name to max. length characters. This is to not make QR codes or invite links arbitrary long.
length