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
13e794a919
Add associations to all database models
2024-07-08 06:18:09 +02:00
8fee150c41
Hide suffix in /help
if in a private chat
2024-07-08 05:48:33 +02:00
8f6d0a1511
Allow /help
to be used to get info about a specific command
...
Also tweaks other commands to be read and handle exceptions correctly
2024-07-08 05:44:56 +02:00
a916cf0e33
Add /help
command
2024-07-08 04:28:51 +02:00
546b6a46a3
Add command descriptions
2024-07-08 04:24:27 +02:00
251080aa48
Add /echo
command
2024-07-08 04:23:18 +02:00
a8534c8d27
Parse commands properly
2024-07-08 04:15:53 +02:00
c1764c88e4
Add new fortunes, raising total to 160
...
Co-authored-by: Cookie <58516648+cookie-chr@users.noreply.github.com>
2024-07-05 02:30:36 +02:00
64c617c2ec
Add /fortune command and clean up code
2024-07-05 02:06:47 +02:00
26d385503e
Setup command framework and add /start command
2024-07-05 00:48:00 +02:00
1d69eb7f6e
Start working on the new version
2024-07-04 03:15:39 +02:00