Function command::object::find_interactive
zaun_community_protocol::command::object::find_interactive · Function
pub fn find_interactive<'a>(components: &'a [Component], custom_id: &str) -> Option<&'a Component>The enabled interactive component (button with a custom_id, or a select) with
custom_id among a message’s components: what a MESSAGE_COMPONENT interaction may
name.