2022-11-12 22:43:26 +00:00
# ![](icon.png) Patched Porobot
2022-08-08 16:19:13 +00:00
2023-03-23 17:51:35 +00:00
Legends of Runeterra game data crate and chat bots
2022-08-08 16:19:13 +00:00
2023-03-23 17:51:35 +00:00
## Links
2022-08-08 16:19:13 +00:00
2023-03-23 17:51:35 +00:00
[![Telegram Bot ](https://img.shields.io/badge/telegram%20bot-done-success )](https://t.me/patchedporobot)
[![Discord Bot ](https://img.shields.io/badge/discord%20bot-done-success )](https://discord.com/api/oauth2/authorize?client_id=1071989978743193672& scope=applications.commands)
![Matrix Bot ](https://img.shields.io/badge/matrix%20bot-to%20do-inactive )
2023-09-18 10:44:31 +00:00
![Fediverse Bot ](https://img.shields.io/badge/fediverse%20bot-to%20do-inactive )
2022-08-01 02:22:05 +00:00
2023-03-23 17:51:35 +00:00
[![Crates.io ](https://img.shields.io/crates/v/patched_porobot )](https://crates.io/crates/patched_porobot)
2023-10-23 01:02:50 +00:00
[![Documentation ](https://img.shields.io/docsrs/patched_porobot )](https://docs.rs/patched_porobot/latest/patched_porobot/)
2022-08-06 17:44:44 +00:00
2022-08-08 16:31:32 +00:00
## Screenshots
2022-08-09 23:57:21 +00:00
### Telegram bot
2022-08-08 16:31:32 +00:00
2022-08-10 00:00:29 +00:00
< details >
2022-08-10 00:02:21 +00:00
< summary > The bot's profile, seen when a chat with @patchedporobot is opened. The legal boilerplate has been shortened to fit the 120 characters limit of the Description field.</ summary >
2022-08-10 00:00:29 +00:00
2022-08-09 23:58:26 +00:00
![](media/td-profile.png)
2022-08-10 00:00:29 +00:00
< / details >
2023-07-04 19:19:29 +00:00
---
2022-08-10 00:00:29 +00:00
< details >
< summary > The message the bot sends when it detects an interaction from the user, such as the default /start command.< / summary >
2022-08-09 23:57:21 +00:00
2022-08-09 23:58:26 +00:00
![](media/td-start.png)
2022-08-10 00:00:29 +00:00
< / details >
2023-07-04 19:19:29 +00:00
---
2022-08-10 00:00:29 +00:00
< details >
< summary > The card search prompt that appears when attempting to use the bot in a chat.< / summary >
2022-08-09 23:57:21 +00:00
2022-08-09 23:58:26 +00:00
![](media/td-prompt.png)
2022-08-10 00:00:29 +00:00
< / details >
2023-07-04 19:19:29 +00:00
---
2022-08-10 00:00:29 +00:00
< details >
< summary > A search for "poro". Many poros are displayed, and also Braum Level 2, since it contains "poro" in its description.< / summary >
2022-08-09 23:57:21 +00:00
2022-08-09 23:58:26 +00:00
![](media/td-poro.png)
2022-08-10 00:00:29 +00:00
< / details >
2023-07-04 19:19:29 +00:00
---
2022-08-10 00:00:29 +00:00
< details >
< summary > The message sent when a card is clicked from the menu. It contains both the card image and a plain text render of the card (for accessibility). Additionally, the flavor text, the artist name, and a link to the full illustration are provided.< / summary >
2022-08-09 23:57:21 +00:00
2022-08-09 23:58:26 +00:00
![](media/td-message.png)
2022-08-10 00:00:29 +00:00
< / details >
2023-03-23 17:51:35 +00:00
2023-07-04 19:19:29 +00:00
---
< details >
< summary > A search for a deck code, followed by "My new deck". It returns a button saying «Deck "My new deck" with 14 cards»< / summary >
![](media/td-deck.png)
< / details >
---
< details >
< summary > The message sent when the Deck button is clicked from the menu. It contains the name of the deck, followed by the formats it's playable in, its regions, and the cards that it contains. Champions are underlined.< / summary >
![](media/td-eternal.png)
< / details >
### Discord bot
< details >
< summary > The message the bot sends when an user sends < code > /help< / code > command.< / summary >
![](media/ds-help.png)
< / details >
---
< details >
< summary > The message the bot sends when an user sends the < code > /card query: patched porobot< / code > command.< / summary >
![](media/ds-card.png)
< / details >
---
< details >
< summary > The message the sends when an user sends the < code > /deck code: CECQCAQCA4AQIAYKAIAQGLRWAQAQECAPEUXAIAQDAEBQOCIBAIAQEMJYAA name: My new deck< / code > command.< / summary >
![](media/ds-deck.png)
< / details >
2023-03-23 17:51:35 +00:00
## Licenses
2023-07-04 19:19:29 +00:00
### Riot Games
2023-03-23 17:51:35 +00:00
Patched Porobot 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.
2023-07-04 19:19:29 +00:00
### Open Source Licenses
2023-03-23 17:51:35 +00:00
< details >
2023-07-04 19:19:29 +00:00
< summary > List of licenses as output by < code > cargo license< / code > < / summary >
2023-03-23 17:51:35 +00:00
- **(Apache-2.0 OR MIT) AND BSD-3-Clause** (1): encoding_rs
- **(MIT OR Apache-2.0) AND Unicode-DFS-2016** (1): unicode-ident
- **0BSD OR Apache-2.0 OR MIT** (1): adler
- **AGPL-3.0-or-later** (1): patched_porobot
- **Apache-2.0** (2): fail, varint-rs
- **Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT** (1): wasi
- **Apache-2.0 OR BSL-1.0** (1): ryu
- **Apache-2.0 OR ISC OR MIT** (4): hyper-rustls, rustls, rustls-pemfile, sct
- **Apache-2.0 OR MIT** (154): ahash, anyhow, arc-swap, async-trait, autocfg, base64, base64, bitflags, block-buffer, bumpalo, cc, cfg-if, chrono, cpufeatures, crc32fast, crossbeam-channel, crossbeam-deque, crossbeam-epoch, crossbeam-utils, crypto-common, digest, downcast-rs, either, env_logger, erasable, fastrand, flate2, fnv, form_urlencoded, fs2, futures, futures-channel, futures-core, futures-executor, futures-io, futures-macro, futures-sink, futures-task, futures-util, generator, getrandom, glob, hashbrown, hermit-abi, hermit-abi, http, httparse, httpdate, humantime, ident_case, idna, indexmap, ipnet, itertools, itertools, itoa, js-sys, lazy_static, libc, lock_api, log, md5, memmap2, mime, num-integer, num-traits, num_cpus, once_cell, oneshot, parking_lot, parking_lot_core, percent-encoding, pin-project, pin-project-internal, pin-project-lite, pin-utils, ppv-lite86, pretty_env_logger, proc-macro-error, proc-macro-error-attr, proc-macro2, quick-error, quote, rand, rand_chacha, rand_core, rayon, rayon-core, rc-box, regex, regex-syntax, remove_dir_all, reqwest, rustc-hash, rustc_version, rustversion, scoped-tls, scopeguard, semver, serde, serde_derive, serde_json, serde_urlencoded, serde_with_macros, sha-1, signal-hook-registry, smallvec, socket2, stable_deref_trait, syn, tempfile, thiserror, thiserror-impl, thread_local, time, time-core, time-macros, tokio-rustls, tungstenite, typenum, unicase, unicode-bidi, unicode-normalization, url, utf-8, uuid, version_check, wasm-bindgen, wasm-bindgen-backend, wasm-bindgen-futures, wasm-bindgen-macro, wasm-bindgen-macro-support, wasm-bindgen-shared, wasm-streams, web-sys, winapi, winapi-i686-pc-windows-gnu, winapi-x86_64-pc-windows-gnu, windows, windows-sys, windows-sys, windows-targets, windows_aarch64_gnullvm, windows_aarch64_msvc, windows_aarch64_msvc, windows_i686_gnu, windows_i686_gnu, windows_i686_msvc, windows_i686_msvc, windows_x86_64_gnu, windows_x86_64_gnu, windows_x86_64_gnullvm, windows_x86_64_msvc, windows_x86_64_msvc
- **Apache-2.0 OR MIT OR MPL-2.0** (1): htmlescape
- **Apache-2.0 OR MIT OR Zlib** (3): miniz_oxide, tinyvec, tinyvec_macros
- **BSD-3-Clause** (2): instant, never
- **BSD-3-Clause OR MIT** (1): rust-stemmers
- **Custom License File** (2): ring, webpki
- **ISC** (3): serenity, typemap_rev, untrusted
- **MIT** (62): aquamarine, async-tungstenite, atty, bitpacking, bytes, census, combine, convert_case, crunchy, darling, darling_core, darling_macro, dashmap, data-encoding, derive_more, dptree, fastfield_codecs, generic-array, h2, http-body, hyper, levenshtein_automata, loom, lru, lz4_flex, matchers, memoffset, mime_guess, mio, murmurhash32, nu-ansi-term, ordered-float, overload, ownedbytes, redox_syscall, serde-value, sharded-slab, slab, spin, strsim, take_mut, takecell, tantivy, tantivy-bitpacker, tantivy-common, tantivy-query-grammar, teloxide, teloxide-core, tokio, tokio-macros, tokio-stream, tokio-util, tower-service, tracing, tracing-attributes, tracing-core, tracing-log, tracing-subscriber, try-lock, valuable, want, winreg
- **MIT OR Unlicense** (8): aho-corasick, byteorder, memchr, regex-automata, tantivy-fst, termcolor, utf8-ranges, winapi-util
- **MPL-2.0** (1): webpki-roots
- **Unlicense** (1): measure_time
- **zlib-acknowledgement** (1): fastdivide
2023-09-18 10:44:31 +00:00
< / details >