Function create_flex_embed

Source
pub async fn create_flex_embed(
    author: &str,
    modal_data: &FlexAskingModal,
    collection_emojis: Collection<EmojiId>,
) -> Result<CreateEmbed, Box<dyn Error + Send + Sync>>
Expand description

Construit l’embed pour la demande de flex game en récupérant les émojis via la collection MongoDB.