1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-10-16 17:47:29 +00:00
Commit graph

143 commits

Author SHA1 Message Date
4255ca0d7a
Fix broken doctest 2023-01-30 18:35:40 +01:00
e91e89cab1
Batch of changes for v0.8.0 (#2)
See changelog for more details.
2023-01-30 18:33:50 +01:00
c0ed6189e5
Fix search bugs introduced with the previous PR 2023-01-30 15:37:41 +01:00
383948c6e6
Implement supertypes enum (#11) 2023-01-30 00:28:31 +01:00
93451b10ec
Introudce a "crystal" segment in Telegram inline query ids
To work around the bizzare caching mechanisms Telegram seems to have.
2023-01-15 12:24:35 +01:00
f908f3b5ed
Move to Oracle Cloud (free) Object Storage for jpgs 2022-12-24 03:48:48 +01:00
d87e19d81f
Add underline to deck titles 2022-10-18 23:54:51 +02:00
0b438479b7
Allow deck codes to be sent with a name (merge #5)
Allow deck codes to be sent with a name
2022-10-18 23:46:18 +02:00
5c1d45dddd
Fix weird behaviour with CardSet::TheDarkinSaga (merge #3) 2022-10-18 23:39:48 +02:00
1f6e05d419
Do not try to convert "set" deck code portions to CardSet variants 2022-10-18 22:11:41 +02:00
1dfa9d97b7
Fix bug in deck! where it was trying to access the caller crate 2022-10-18 21:11:35 +02:00
cb00027ff8
Document how to send a named deck list 2022-10-18 15:24:38 +00:00
961ab2cea8
Allow deck names to be specified in the Telegram bot 2022-10-18 15:15:32 +00:00
0119dbc515
Document ::telegram::inline::deck_to_inlinequeryresult 2022-10-18 14:44:25 +00:00
39dbc3f1b7
Remove unused import 2022-10-18 14:43:13 +00:00
6c63d36ca3
Document the CardSet::from::<u32> changes 2022-10-18 09:44:14 +00:00
8978ccd82e
Allow u32::try_from::<CardSet> to work on CardSet::TheDarkinSaga 2022-10-18 09:41:14 +00:00
75279c8ba7
Remove support for CardSet::Worldwalker::from::<u32>
06 is now ambiguous
2022-10-18 09:39:32 +00:00
e5aa83af96
Document the CardSet::from_code change 2022-10-18 09:35:33 +00:00
11bd4204dd
Remove support for CardSet::Worldwalker.from_code
06 is now ambiguous
2022-10-18 09:33:26 +00:00
369e97048a
Add support for CardSet::TheDarkinSaga.to_code 2022-10-18 09:31:29 +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