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
c028f3a502
Lint: remove unnecessary pub(self)
2024-07-11 06:32:56 +02:00
Cookie-CHR
f2d90cf8ea
✨ Nuove fortune
2024-07-10 23:49:42 +02:00
Cookie
0e568d03c3
⚙️ Comando answer
...
Ho preferito applicare a mano le modifiche riguardanti il seed in modo da poterle raggruppare in un commit unico... Poi ho fatto casino con il merge e sono venute due modifiche lo stesso, rip
2024-07-10 23:43:45 +02:00
Cookie-CHR
a2e0c0015c
🗑 No need for seed!
2024-07-10 23:38:26 +02:00
Cookie
c040b8abfd
⚙️ Raw string syntax
...
Co-authored-by: Stefano Pigozzi <me@steffo.eu>
2024-07-10 23:34:23 +02:00
Cookie-CHR
4859e72929
🗑 No need for seed
2024-07-10 23:33:04 +02:00
Cookie
af66ff66c0
🗑 Tolto nome della variant
...
Co-authored-by: Stefano Pigozzi <me@steffo.eu>
2024-07-10 23:27:45 +02:00
4d7e196d13
Allow running multiple tasks at once, and bail as soon as the first one crashes
2024-07-10 21:49:05 +02:00
Cookie-CHR
0d14f25b98
🐛 Made it actually work
2024-07-10 00:06:44 +02:00
Cookie-CHR
2db26854c9
⚙️ Prima versione comando Answer
2024-07-09 23:24:52 +02:00
60502e1844
Make /start
display the bot's current version
2024-07-08 06:21:27 +02:00
26a2794be8
Add /whoami
command as an example of database usage
2024-07-08 06:18:22 +02:00