summaryrefslogtreecommitdiff
path: root/src/storage
AgeCommit message (Collapse)Author
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-15storage: fixup settings indexseth
2023-12-15enable clippy::all, clippy::pedantic, & clippy::perfseth
2023-12-15fix(storage): use i64 instead of usize for key expiryseth
2023-12-15storage: remove guild settings from index on bot leaveseth
2023-12-15storage: don't copy all guild settings to indexseth
2023-12-15storage: make low level abstractions privateseth
this is to make sure we keep all the DB stuff with the DB stuff
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-15feat: handle errors during setupseth
2023-12-15refactor: centralize storage handlersseth