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

174 commits

Author SHA1 Message Date
df40545a43
Cover CardSet::GloryInNavori in Discord /card command 2023-03-24 13:31:50 +01:00
3199e6a738
Add support for Glory in Navori 2023-03-24 13:24:48 +01:00
1c33f250bd
Require a impl Iterator instead of a Vec in create_cardindex_from_dd_latest 2023-03-24 13:24:29 +01:00
e6fc162578
Add proper support to custom set codes 2023-03-24 13:22:33 +01:00
34c396b5de
Tweak debug logging for bundle load and fetch 2023-03-24 13:01:52 +01:00
f9994c516a
Add doctest for champions 2023-03-24 12:46:25 +01:00
cfc85068c5
Close doctest codeblock 2023-03-24 12:24:45 +01:00
779910b8c4
Swap arguments of create_cardindex_from_dd_latest 2023-03-24 12:21:04 +01:00
3d4901434c
Remove references to "english" data in docs 2023-03-24 12:17:52 +01:00
ad084d6dc8
Make set codes configurable via DATA_DRAGON_SET_CODES 2023-03-24 02:04:58 +01:00
84d153653a
Add test test_legality_eternal_paltri 2023-03-24 01:31:15 +01:00
0573287708
Fix some tests 2023-03-24 01:19:27 +01:00
0a21a4ccf9
Allow clippy::single_match in interaction_create 2023-03-24 01:05:11 +01:00
d417be378a
Fix conditional compilation 2023-03-24 01:01:14 +01:00
0d3c1329c4
Use imgproxy to convert images on the fly 2023-03-24 00:51:18 +01:00
f469776a1d
Allow specifying locale via the DATA_DRAGON_LOCALE envvar 2023-03-23 19:58:59 +01:00
adfd6325c6
Remove strikethrough over "Usage of the Discord bot" 2023-03-23 18:59:49 +01:00
8f9927731d
Update formats (#14)
* Add missing docstring section to `Deck::singleton`
* Add `Deck::unlimited_champions`
* Fix typo in `Deck::singleton` docstring
* Rename *Standard* to *Eternal*
* Allow displaying *Unlimited Champions*
* Add more legality tests
2023-03-23 18:59:49 +01:00
9dcb2d2a71
Remove unused imports 2023-03-21 15:52:07 +01:00
27911378dd
Add some debug logging 2023-03-21 15:51:26 +01:00
384d209b5c
Use the two previous functions in crate::discord::main 2023-03-21 15:39:57 +01:00
4d5fe654e8
Use the two previous functions in crate::telegram::main 2023-03-21 15:39:28 +01:00
cde8a5085a
Add create_cardindex_from_dd_latest_en_us 2023-03-21 15:39:05 +01:00
ee1778284d
Add create_globalindexes_from_dd_latest_en_us 2023-03-21 15:39:00 +01:00
bc9d840fe0
Fully remove fetch feature 2023-03-21 15:03:10 +01:00
a38d04fb5e
Remove unused use 2023-03-20 11:14:16 +01:00
cf7268ebdb
Merge branch 'main' into reqeast
# Conflicts:
#	Cargo.toml
#	src/data/corebundle/mod.rs
2023-03-20 11:12:45 +01:00
07fa6c8763
Fix documentation link 2023-02-07 03:12:18 +01:00
a0974f91d5
Batch of changes for v0.9.0 (#7) 2023-02-07 01:31:15 +01:00
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
325376de55
Merge branch 'main' into reqeast 2022-10-20 16:30:08 +02: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
4a9fda45c8
Complete fetch methods for CoreBundle and SetBundle 2022-10-18 13:47:24 +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