Commit graph

10 commits

Author SHA1 Message Date
f4c3a6a569
style: cleanup types.rs 2024-11-27 19:04:37 +04:00
515ea87156
fix: no markdown, no url
we don't have a URL to the comic itself,
only to the JSON API endpoint

and adding `("parse_mode", "MarkdownV2".to_string())`
would require one more allocation or refactoring the code
2024-11-27 19:00:21 +04:00
afd5ad906e
feat: add comic id and title to msg 2024-11-27 18:55:35 +04:00
3790fab0bc
refactor: pass args to send_comic in a struct 2024-11-27 18:49:39 +04:00
2c9baa16df
fix: return immediately on non-200 2024-11-27 18:39:25 +04:00
04bfa2c1ae
style: post method in init_cmds 2024-11-27 18:36:18 +04:00
e53405a060
feat: set bot commands 2024-11-27 18:28:34 +04:00
c2735ccf25
refactor: move schemas and cfg 2024-11-27 17:40:02 +04:00
0e6e6a14fd
refactor/feat: add xkcd.ru, for-loop -> iter 2024-11-27 17:35:34 +04:00
b98dd28fcd
initial commit 2024-11-26 22:45:46 +04:00