1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-12-23 10:04:21 +00:00
Commit graph

123 commits

Author SHA1 Message Date
39dbc3f1b7
Remove unused import 2022-10-18 14:43:13 +00:00
48fb2b275e
In tests, reference to the crate with the crate keyword 2022-10-17 09:32:27 +00:00
7ecc0242a3
Add support for The Darkin Saga keywords 2022-09-03 19:50:46 +02:00
6af7304f9a
Add support for The Darkin Saga set 2022-09-03 19:37:42 +02:00
5fa0e69bfb
Fix a formatting mess 2022-09-03 19:31:57 +02:00
30a94754cd
Run cargo fmt 2022-09-03 19:15:44 +02:00
54fc192b6e
Load setbundles dynamically 2022-08-22 19:56:21 +02:00
f5456980f6
Improve debug messages 2022-08-22 18:28:32 +02:00
26257ff2a3
Hide the entered inline query from logs
For privacy reasons.
2022-08-22 18:26:40 +02:00
5cdc617ee7
Mention deck previews in the bot's welcome message 2022-08-22 18:24:17 +02:00
5a17f7a724
Do not make group mutable in Deck::f1_group_cards 2022-08-22 18:19:20 +02:00
b432103c56
Use ? operator in Deck::min_deckcode_version 2022-08-22 18:18:52 +02:00
60060b9a31
Remove useless reference in Deck::from_code 2022-08-22 18:18:18 +02:00
139de76961
Use Result::is_ok() instead of pattern matching in Deck::read_f1_extra 2022-08-22 18:18:05 +02:00
d869d6d943
Remove useless reference in Deck::write_f1_supergroup 2022-08-22 18:17:28 +02:00
5c1075031f
Use vec! macro in Deck::f1_group_cards 2022-08-22 18:17:11 +02:00
d44391b264
Remove useless reference in Deck::encode_code 2022-08-22 18:15:54 +02:00
639d84da03
Remove useless reference in CardCode::to_card 2022-08-22 18:15:40 +02:00
e6e9368082
Use matches! macro to determine if CardCode::is_valid 2022-08-22 18:15:08 +02:00
f3cc8a0910
Do not implement PartialEq::ne for Card 2022-08-22 18:13:49 +02:00
89a1eefd25
Make Cards Eq based on their Card::code 2022-08-22 18:13:23 +02:00
bbfb146087
Document deck queries in the bot's instructions 2022-08-22 18:01:32 +02:00
7b060feb9c
Add decks support (#1) 2022-08-22 00:21:41 +02:00
f85df82a0a
Fix broken bilgewater test 2022-08-13 05:41:33 +00:00
ce0774d5dd
Somehow, I've managed to forget about bilgewater 2022-08-13 05:30:45 +00:00
5d51c55c9c
Remove non-solvable link 2022-08-13 04:46:22 +00:00
0d6b7e7fcd
Fix links that work locally but not on docs.rs 2022-08-13 04:44:59 +00:00
a2cc2cc4c0
Configure and run cargo fmt 2022-08-13 04:28:46 +00:00
5b7947028f
Move the main function to patched_porobot::telegram::main 2022-08-13 04:10:25 +00:00
e741d41822
Change card-data/ to simply data/ 2022-08-09 03:55:51 +02:00
a34436bbe1
Update docs link 2022-08-09 03:48:57 +02:00
674f2eda71
Strikethrough unfinished features 2022-08-08 23:40:49 +02:00
ad813dfd6c
Remove unused imports 2022-08-08 23:34:55 +02:00
8cc200b6f4
Boost code and name fields, while lowering slightly flavor 2022-08-08 23:23:26 +02:00
e59856c656
Add basic "unavailable" notices to the unimplemented bots 2022-08-08 23:20:23 +02:00
1eeef94eb3
Add doc logos to binary targets 2022-08-08 23:16:00 +02:00
bc05fc9afa
Improve significantly docs 2022-08-08 21:06:52 +02:00
d2f922b97f
Use AND conjunction by default in the QueryParser 2022-08-08 19:58:57 +02:00
bd335b4712
Documentation and structure improvements 2022-08-08 19:55:59 +02:00
821aaa875b
Create empty discord module 2022-08-08 18:53:17 +02:00
8c34409ba1
Change err-no-query message 2022-08-08 18:20:44 +02:00
53186dd959
Use explicit format syntax so IntelliJ Rust does not complain about unused vars 2022-08-08 16:22:03 +02:00
6300623886
Fix newlines in displaying telegram cards 2022-08-08 16:21:16 +02:00
67ed228958
Move engine inside the inline query handler
Is there a better way to do this?
2022-08-08 16:18:55 +02:00
ca82930279
Move handlers to telegram::handler 2022-08-08 16:10:53 +02:00
d8328cbd22
It is (mostly) done! 2022-08-08 04:55:07 +02:00
25df599586
Complete most of the telegram bot 2022-08-08 04:10:59 +02:00
b2a2535b93
Add a way to convert Card into InlineQueryResult 2022-08-07 17:50:35 +02:00
c945f7e6c5
Add branch for telegrambot binary without the required feature 2022-08-07 17:50:09 +02:00
b7403c6e0e
Use reference in String::from::<&CardType> call 2022-08-07 17:32:50 +02:00