1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-12-23 01:54:22 +00:00

Document how to send a named deck list

This commit is contained in:
Steffo 2022-10-18 15:24:38 +00:00 committed by GitHub
parent 961ab2cea8
commit cb00027ff8
Signed by: github
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,7 +72,7 @@
//!
//! Since [@patchedporobot] uses [`tantivy`] internally, you might find more information on even more advanced queries in the [documentation of their `QueryParser`](tantivy::query::QueryParser)!
//!
//! ### Deck queries
//! ### Deck parsing
//!
//! You can have [@patchedporobot] display a deck and its cards by pasting the deck code after the bot's username:
//!
@ -82,6 +82,15 @@
//!
//! Then, select the "Deck with N cards" option to send the deck's card list in the chat!
//!
//! #### Named decks
//!
//! Optionally, you may add a name to your deck, which will be displayed above the deck code:
//!
//! ```text
//! @patchedporobot CIBQCAICAQAQGBQIBEBAMBAJBMGBUHJNGE4AEAIBAIYQEAQGEU2QCAIBAIUQ Gimbo's Depths
//! ```
//!
//! If entered correctly, the bot will display a slightly different option containing the deck's name (_Deck "NAME" with N cards_), which you can check before the message is sent to the chat.
//!
//! [@patchedporobot]: https://t.me/patchedporobot