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

112 commits

Author SHA1 Message Date
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
56df5bdd86
Don't take ownership of CardType when converting to String 2022-08-07 17:27:54 +02:00
fb34162fef
Fix some issues in the telegram module 2022-08-07 17:24:03 +02:00
c6e95322ce
Revert Debug and Clone derivations on CardSearchEngine 2022-08-07 17:23:46 +02:00
3853b9f006
Create the telegrambot binary 2022-08-07 17:23:12 +02:00
64d5b8ef70
Uncomment the telegram module 2022-08-07 17:23:05 +02:00
96fb1c4bc6
Make the telegram::display module public 2022-08-07 16:47:50 +02:00
c2146f662a
Improve the telegram::display module 2022-08-07 16:47:29 +02:00
08388c59b3
Use the in-game term of "Illustration by" 2022-08-07 16:12:18 +02:00
838b88e741
Update some docstrings 2022-08-07 16:04:42 +02:00
f09c366900
Also derive Clone for CardSchemaFields 2022-08-07 05:42:21 +02:00
6edc2965a9
Derive Debug for more things 2022-08-07 05:42:04 +02:00