From 64d5b8ef709aad27d0c2ac3b35e0b4c57a7c8121 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 7 Aug 2022 17:23:05 +0200 Subject: [PATCH] Uncomment the telegram module --- src/lib.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index ad18120..d2328ab 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -3,11 +3,14 @@ //! # Features //! //! - `search`: Adds a search engine based on [tantivy] for Legends of Runeterra data. -//! - `telegram`: Adds a [Telegram bot](https://core.telegram.org/bots/api) based on [teloxide] for Legends of Runeterra data. +//! - `telegram`: Adds a [Telegram bot] based on [teloxide] to send Legends of Runeterra cards in chats. //! //! # Legal //! //! [patched_porobot](self) isn't endorsed by Riot Games and doesn't reflect the views or opinions of Riot Games or anyone officially involved in producing or managing Riot Games properties. Riot Games, and all associated properties are trademarks or registered trademarks of Riot Games, Inc. +//! +//! +//! [Telegram bot]: https://core.telegram.org/bots/api #![warn(missing_docs)] #![doc(html_logo_url = "https://raw.githubusercontent.com/Steffo99/patched-porobot/main/icon.png")] @@ -17,5 +20,5 @@ pub mod data; #[cfg(feature = "search")] pub mod search; -// #[cfg(feature = "telegram")] -// pub mod telegram; +#[cfg(feature = "telegram")] +pub mod telegram;