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
40546fa9b1
Make clippy shut up about the unused pub(self)
2024-07-12 05:20:36 +02:00
4910611489
Only reply with unknown command to pseudo-commands
2024-07-11 11:57:36 +02:00
2701609582
Display DEBUG
as version in debug builds
2024-07-11 09:07:53 +02:00
b59374e1a8
Add start notification for services::telegram::BotService
2024-07-11 08:55:14 +02:00
d4b270b7fa
Warn that reminders do not persist when the bot is restarted.
2024-07-11 08:29:05 +02:00
6c2fb205ab
Do not log::trace sensitive data
2024-07-11 08:28:22 +02:00
05592396e7
Refactor services again to use traits and to allow bot to update its own command list
2024-07-11 08:24:41 +02:00
7a8d30e1d0
Refactor services to use traits
2024-07-11 08:05:58 +02:00
cd4214cb4b
Add /reminder
command
2024-07-11 07:53:51 +02:00
7a4be66a41
Lint: remove unused imports
2024-07-11 06:38:26 +02:00
f956c6125d
Handle both the Ok
and the Err
case of try_join!
2024-07-11 06:38:16 +02:00
b300add154
Lint: use char instead of str for single characters
2024-07-11 06:32:56 +02:00
60c67d792b
Lint: make lazy moves into eager moves instead
2024-07-11 06:32:56 +02:00
341ef980d1
Lint: remove unnecessary .to_string()
call
2024-07-11 06:32:56 +02:00
c112f5da48
Lint: remove unnecessary pub(self)
2024-07-11 06:32:56 +02:00
8a23e078e3
Lint: remove unused imports
2024-07-11 06:32:56 +02:00
492d587a33
Lint: remove useless format
2024-07-11 06:32:56 +02:00
da38764cd2
Lint: remove redundant 'static
lifetime
2024-07-11 06:32:56 +02:00