let caps = RE.captures(message.content.trim()); let m = match caps.filter(|m| m.len() >= 3) { Some(m) => m, None => { if let Ok(cm) = http_client .create_message(message.channel_id) .reply(message.id) .content("Invalid submission") { let _ = cm.await; } return; } };