summaryrefslogtreecommitdiff
path: root/src/utils.rs
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-01-21utils: better handle embed in message resolverseth
2024-01-21refactor: adjust to poise 0.6.1seth
2023-12-15enable clippy::all, clippy::pedantic, & clippy::perfseth
2023-12-15feat: add per guild configurationseth
2023-12-01feat: add redis for reactboardseth
2023-12-01refactor: expand Settingsseth
2023-12-01feat: use eyre, better logging, & refactorseth
small commits be damned
2023-12-01feat: add reactboardseth
2023-11-18chore: fix clippy warningsseth
2023-11-18feat: put random teawie/shiggy in embedseth
2023-11-18chore: cleanup importsseth
2023-11-16start using poiseseth
2023-07-09Refactors + add pin board module (#32)Leah Amelia Chen
* refactor according to the rules of the cone school of rustâ„¢ * Add pin board module * cargo fmt * More cleanups + appease clippy
2023-06-28feat: add convertto commandsseth
2023-04-13add astral copypasta + include/ -> copypastas/seth
2023-04-07add bottom subcommandsseth
2023-04-07cargo fmtseth
2023-04-07add random lore commandseth
2023-04-07add bottom encode/decodeseth
2023-04-07move long constants to their own fileseth
2023-04-07fix type declarationseth
2023-04-07adding lore textAnca Safina
2023-04-05rewrite in rust :)seth