summaryrefslogtreecommitdiff
path: root/src/handlers/event
AgeCommit message (Collapse)Author
2024-08-09tree-wide: end of summer cleanup (#214)seth
* api: refactor & rename module to http * client: split from main.rs * tree-wide: use eyre::Report as error * nix: alejandra -> nixfmt * nix: start using treefmt-nix * nix: simplify flake * nix: refactor derivation & docker image * nix: remove overlay * ci: update & cleanup workflows * commands: assign all commands automatically * commands/copypasta: remove * http/teawie: update response struct for upstream rust rewrite * handlers: rename modules to events; flatten * crates: rename self to teawie-bot * nix: fenix -> rust-overlay i want a specific rust version grrrrrrr * ci: pin rust to 1.79 this is what our nix dev shell uses and what we can compile on. it seems the time crate doesn't like v1.80 of the compiler :( * ci: always run release gates * nix: fix static toolchain * nix: rust-overlay -> nixpkgs * ci: adopt actions-rust-lang actions * nix: use docker arch names for containers * crates/time: 0.3.30 -> 0.3.36 fixes building on rust 1.80.0
2024-04-19spring cleaning (#165)seth
* treewide: lightly refactor everything * once_cell -> std::sync * remove build.rs we can get our target at runtime * commands::copypasta: refactor selection * drop owo_colors * reactboard: always remove author from count * commands: better handle behavior outside of guilds * ci: garnix -> gha * nix: drop flake-parts & pre-commit-hooks * nix: fix rust flags in derivation * add gha badge to readme * ci: fail when format changes are made * ci: only run on push to main * nix: fix nil script * nix: add libiconv to darwin deps * ci: disable fail-fast * nix: fix actionlint & static checks * ci: add release gates * nix: fix nil check again * ci: give release gates unique names * ci: only build static packages in docker workflow * nix: move dev outputs to subflake * fix some typos * nix: cleanup checks & dev shell * add editorconfig
2024-02-18use newer eyre directlyseth
2024-01-21refactor: adjust to poise 0.6.1seth
2023-12-15pinboard: less hacky/more consistent pinner detectionTheKodeToad
2023-12-15enable clippy::all, clippy::pedantic, & clippy::perfseth
2023-12-15refactor: use reactboard-v2seth
yay! we don't need to fetch every single reaction from every guild whenever a new one is triggered
2023-12-15feat: add explicit react/pinboard toggleseth
2023-12-15fix: allow multiple arguments for config optsseth
2023-12-15refactor: centralize storage handlersseth
2023-12-15chore: register guild commands for servers that opt-inseth
2023-12-15feat: add per guild configurationseth
2023-12-01handlers/message: update log output for other botsseth
2023-12-01chore: add missing return in message handleruku
2023-12-01feat: add redis for reactboardseth
2023-12-01refactor: expand Settingsseth
2023-12-01feat: use eyre, better logging, & refactorseth
small commits be damned