Commit Graph

36 Commits

Author SHA1 Message Date
Xiretza a339e71e6d fix condition causing open state to be broadcast on every start 2024-01-30 21:00:36 +00:00
Xiretza c2b4ab9383 Don't require spaceapi to be available immediately on startup
Important because homeassistant is slow as hell
2024-01-26 21:08:07 +00:00
Xiretza ff505e98ae Support new spaceping API 2024-01-26 20:03:48 +00:00
Xiretza d0df39ef11 cargo update 2024-01-23 20:34:31 +00:00
Xiretza 3fb18ea7e0 cargo fmt 2024-01-23 20:33:24 +00:00
Xiretza 4fcbc6fec7 its_api: patch spaceapi response for homeassistant breakage 2024-01-23 20:32:45 +00:00
Xiretza 9b2978365c Add serde_json 2024-01-23 20:32:08 +00:00
Xiretza 2e48a97e6e Fix command error handling 2024-01-21 16:16:23 +00:00
Xiretza 10157a24db Remove spaceapi backport 2023-07-18 20:31:45 +00:00
Xiretza c9754bc00a Box huge future to avoid clippy warning 2023-07-18 20:29:23 +00:00
Xiretza eec42ec369 Update toml to 0.7 2023-07-18 20:27:59 +00:00
Xiretza ff1b69a198 cargo update 2023-07-18 20:20:17 +00:00
Xiretza 6eadec73e8 Log once bot is logged in 2023-07-18 20:19:39 +00:00
Xiretza 8f0c762637 Sync once on bot startup 2023-07-18 20:19:25 +00:00
Xiretza 4d06a1df84 Print opening times in local time 2023-07-18 20:19:03 +00:00
Xiretza 27214dbc34 Send error message if command fails 2023-07-18 20:15:01 +00:00
Xiretza 17d076ed45 patch spaceapi for `state.icon.closed` field 2022-11-13 12:24:22 +01:00
Xiretza a028986975 README: add link to old python version 2022-11-13 11:06:16 +01:00
Xiretza efce5f22d6 more tracing 2022-11-13 10:58:19 +01:00
Xiretza cc09f22432 ensure bot doesn't reply to its own messages 2022-11-13 10:58:19 +01:00
Xiretza c40de5fbd1 Workaround for broken IRC bridge 2022-11-13 10:58:19 +01:00
Xiretza 1b48d830e6 fix: use text instead of notice for command replies 2022-11-13 10:58:19 +01:00
Xiretza d64429a009 fix error reporting from ITS API 2022-11-13 10:53:38 +01:00
Xiretza 3dfd20faaa Add .editorconfig 2022-11-13 09:20:47 +01:00
Xiretza a8654a6ef3 README: add more instructions 2022-11-13 09:20:36 +01:00
Xiretza 047f64c5db README: reflow 2022-11-13 09:20:18 +01:00
Xiretza 7031f9f82b Add cargo-deny configuration 2022-11-13 01:04:14 +01:00
Xiretza 328fcf8d20 deps: use time instead of chrono
chrono still depends on a version of time with a segfault:
https://github.com/chronotope/chrono/issues/602
2022-11-13 01:00:30 +01:00
Xiretza 796fabb1c5 cargo update 2022-11-13 01:00:30 +01:00
Xiretza e8a030580b Reshuffle dependencies 2022-11-13 01:00:30 +01:00
Xiretza 164b7a3281 Add LICENSE.txt 2022-11-13 01:00:30 +01:00
Xiretza c3393c5662 Add setup instructions to README 2022-11-13 01:00:30 +01:00
Xiretza 1245c823b7 Better command line documentation 2022-11-13 01:00:30 +01:00
Xiretza 7dc76d328c Add example config 2022-11-13 01:00:30 +01:00
Xiretza 4d01d3f8f0 Rewrite it in Rust! 2022-11-13 01:00:30 +01:00
Xiretza 7a608ae9d0 initial empty commit 2022-11-13 00:19:12 +01:00