|
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 |
|
|
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 Card s 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 |
|
|
8ed792bda9
|
Fix some doc warnings
|
2022-08-07 05:41:33 +02:00 |
|
|
838dafd028
|
Fix some clippy lints
|
2022-08-07 05:38:29 +02:00 |
|
|
2da1264681
|
Refactor search::cardsearch module
|
2022-08-07 05:37:43 +02:00 |
|