22a26988ca
Do not reply if unaddressed
2024-09-12 05:22:54 +02:00
e8fd43d978
Add unimplemented optional config key TELEGRAM_MATCHMAKING_CHATID
2024-08-25 13:07:40 +02:00
41c060d7d0
Improve error messages for custom parsing failures
2024-08-25 12:57:33 +02:00
418d68de49
Allow any non-space characters as quoted user name
2024-08-25 12:54:06 +02:00
fccc97bca2
Ensure empty quotes can't be added to the Diario
2024-08-25 12:53:33 +02:00
Lorenzo Rossi
a72f0ee43d
Differentiate between unknown command and parse error ( #14 )
...
Co-authored-by: Stefano Pigozzi <me@steffo.eu>
2024-08-25 12:49:29 +02:00
6044f93e04
Use small preview for dota matches
2024-08-19 10:08:06 +02:00
6f09b0153a
Fix brooch conditional compiling
2024-08-19 10:02:36 +02:00
5c5826c7ea
Allow unused imports on all the query_prelude
2024-08-19 09:59:49 +02:00
2a19d2d0d8
Display dota matches with the large embed
2024-08-19 09:52:36 +02:00
c855a156f8
Sort replies to matchmaking based on their choice
2024-08-19 09:47:20 +02:00
4bd14da04c
RustRover please stop
2024-08-19 08:23:09 +02:00
fd4bfeb193
Fix a couple broken imports
2024-08-19 08:20:56 +02:00
eaad114f5c
Remove leftover AnyError
in TelegramService
2024-08-19 07:56:02 +02:00
ec3f5daff7
Run "Reformat code..." IDE feature
2024-08-19 07:54:41 +02:00
9337834797
Run "Optimize imports..." IDE feature
2024-08-19 07:38:04 +02:00
b476a77fad
Allow clippy::manual_async_fn
for get_*_future
methods
2024-08-19 07:36:51 +02:00
111e474411
Remove unnecessary return
2024-08-19 07:34:35 +02:00
28f904bf01
Allow dead code in crate::utils
2024-08-19 07:34:24 +02:00
77efcd9762
Remove unused AnyError
type alias
2024-08-19 07:33:45 +02:00
8081e173a0
Allow dead code for crate::services::RoyalnetService
2024-08-19 07:33:00 +02:00
cfef41d92c
Remove unit return type
2024-08-19 07:32:32 +02:00
7d915b7db5
Allow unused import for crate::services::RoyalnetService
2024-08-19 07:32:06 +02:00
3cfce76ba1
Only send matchmaking keyboard if the event hasn't started yet
2024-08-19 04:12:08 +02:00
Lorenzo Rossi
548cf714e8
Fix matchmaking time displayed as UTC ( #13 )
...
Co-authored-by: Stefano Pigozzi <me@steffo.eu>
2024-08-19 04:09:59 +02:00
56e3baa8c0
Add /matchmaking
command and refactor whole codebase ( #12 )
2024-08-18 17:11:04 +02:00
af3ab04604
Remove unused import
2024-08-08 19:47:01 +02:00
230e500fc8
Allow creating /diario with a plain syntax
2024-08-08 19:46:34 +02:00
b3b6ff7a74
Do not bind warning
variable in match arm
2024-08-08 16:59:36 +02:00
c726d4cbc8
Fix TelegramWrite
of DiarioEntry
with warnings
2024-08-08 16:59:05 +02:00
082ab57b68
Allow BroochService::new
with too many arguments
2024-08-08 00:59:15 +02:00
bcb1793f00
Simplify escape_telegram_html
2024-08-08 00:59:15 +02:00
ebfcfe45e3
Remove unneeded return
2024-08-08 00:59:15 +02:00
a705e2fae4
Use .flatten
instead of .filter_map(|o| o)
2024-08-08 00:59:15 +02:00
2575f2429a
Remove unnecessary reference
2024-08-08 00:59:15 +02:00
0cda38bb3d
Use writeln!
instead of write!
to write a new line
2024-08-08 00:59:15 +02:00
58a4cc478f
Remove clones of Copy
able types
2024-08-08 00:59:15 +02:00
887fca9c30
Remove unnecessary pub(self)
2024-08-08 00:59:15 +02:00
437f3cf565
Add /diario
command ( #11 )
...
Co-authored-by: Lorenzo Rossi <snowycoder@gmail.com>
2024-08-08 00:36:39 +02:00
15576aa73b
Sort players by role and lane
2024-08-05 16:31:01 +02:00
a7a4ad06e3
Consider 49 IMP and -49 IMP to be the respective awards
...
This matches Stratz's website behaviour.
2024-08-05 15:55:15 +02:00
0544304e8c
Embed database migrations in the binary
2024-08-05 15:50:43 +02:00
1275f1e361
Wrap DatabaseInterface
in an Arc
2024-07-17 20:23:17 +02:00
25c28cf079
Remove the bold that @xZefyr dislikes
2024-07-17 20:18:56 +02:00
f8c77ef264
Massive amount of changes
2024-07-17 19:57:03 +02:00
Cookie
8afbb1c421
Prima versione comando /roll ( #8 )
2024-07-16 11:37:00 +02:00
ba087ab4de
Add Dota guild match monitoring and notifications ( #9 )
2024-07-16 11:35:38 +02:00
2b31bb8c0a
Add rich text formatting features ( #6 )
...
* Add rich formatting to `/help`
* Create `EscapableInTelegramHTML` trait and implement it for types where `String: From<T>`
* Add rich formatting to `/reminder`
* Add rich formatting to `/whoami`
* Add rich formatting to the launch message
2024-07-14 09:46:20 +02:00
3892070c5b
Add /dog
command ( #5 )
2024-07-14 09:45:48 +02:00
7bbadecb12
Add /cat
command ( #4 )
2024-07-14 09:44:02 +02:00