mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-22 17:44:22 +00:00
Uncomment the telegram module
This commit is contained in:
parent
0795ee3add
commit
64d5b8ef70
1 changed files with 6 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue