summaryrefslogtreecommitdiff
path: root/src/commands
AgeCommit message (Collapse)Author
2025-02-04moyai (#266)Seth Flynn
* chill -> moyai * license: update year * treewide: update deps
2024-12-19jolly winter cleanup (#251)seth
* ci: bump DeterminateSystems/nix-installer-action from 13 to 16 Bumps [DeterminateSystems/nix-installer-action](https://github.com/determinatesystems/nix-installer-action) from 13 to 16. - [Release notes](https://github.com/determinatesystems/nix-installer-action/releases) - [Commits](https://github.com/determinatesystems/nix-installer-action/compare/v13...v16) --- updated-dependencies: - dependency-name: DeterminateSystems/nix-installer-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * crates: bump serde from 1.0.209 to 1.0.215 Bumps [serde](https://github.com/serde-rs/serde) from 1.0.209 to 1.0.215. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.209...v1.0.215) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * crates: bump serde_json from 1.0.127 to 1.0.133 Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.127 to 1.0.133. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.127...v1.0.133) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * crates: bump tokio from 1.40.0 to 1.41.1 Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.40.0 to 1.41.1. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.40.0...tokio-1.41.1) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * crates: bump reqwest from 0.12.7 to 0.12.9 Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.12.7 to 0.12.9. - [Release notes](https://github.com/seanmonstar/reqwest/releases) - [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md) - [Commits](https://github.com/seanmonstar/reqwest/compare/v0.12.7...v0.12.9) --- updated-dependencies: - dependency-name: reqwest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * nix: update flake.lock * ci: bump DeterminateSystems/magic-nix-cache-action from 7 to 8 Bumps [DeterminateSystems/magic-nix-cache-action](https://github.com/determinatesystems/magic-nix-cache-action) from 7 to 8. - [Release notes](https://github.com/determinatesystems/magic-nix-cache-action/releases) - [Commits](https://github.com/determinatesystems/magic-nix-cache-action/compare/v7...v8) --- updated-dependencies: - dependency-name: DeterminateSystems/magic-nix-cache-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * treewide: debrand * nix: adopt new darwin sdk * nix: drop treefmt * nix: misc formatting changes * ci: cleanup * nix: pass version info to static builds * nix: mv {derivation,package}.nix * eyre -> anyhow * remove 2024 edition warnings * format with rustfmt * remove optional commands * ci: don't include internal variables in job names * nix: enable for lto builds --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: getchoo-bot[bot] <183349775+getchoo-bot[bot]@users.noreply.github.com>
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-05-02feat: add emoji commandseth
2024-05-02feat: add pfp commandseth
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-02-18fix duplicated command registrationsseth
2024-02-18add clear_messages commandseth
2024-01-21chore: update version funniseth
2024-01-21refactor: adjust to poise 0.6.1seth
2023-12-28opt-commands: add uwurandom (#112)Skye
* opt-commands: add uwurandom * Apply suggestions from code review Co-authored-by: seth <[email protected]> * opt-commands: set random default value for uwurandom --------- Co-authored-by: seth <[email protected]>
2023-12-15commands/config: don't set pinboard_watch when no args are suppliedseth
2023-12-15commands: fix question param in askseth
2023-12-15commands: add rust target to versionseth
2023-12-15commands: handle bad user input in convert from_bottomseth
2023-12-15opt-commands: respond when used but not allowedseth
2023-12-15enable clippy::all, clippy::pedantic, & clippy::perfseth
2023-12-15commands: improve descriptionsseth
2023-12-15remove moderation commandsseth
this was mainly an experiment; i don't think we need them
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-15refactor: simplify kick/banseth
2023-12-15fix: permission checks for prefix commandsseth
ihateprefixcommands ihateprefixcommands ihateprefixcommands ihateprefixcommands ihateprefixcommands ihateprefixcommands ihateprefixcommands ihateprefixcommands
2023-12-15fix: make config command a prefix commandseth
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-15feat: add basic moderation commandsseth
2023-12-15feat: add per guild configurationseth
2023-12-01fix: report user agent in /version correctlyseth
2023-12-01refactor: expand Settingsseth
2023-12-01feat: use eyre, better logging, & refactorseth
small commits be damned
2023-11-18feat: put random teawie/shiggy in embedseth
2023-11-18refactor: dedicate enum to colorsseth
2023-11-18chore: cleanup importsseth
2023-11-18chore: cleanup unused copypastasseth
2023-11-16refactor: merge all random commandsseth
2023-11-16refactor: merge bottom & convertseth
2023-11-16chore: separate command declaration from main.rsseth
2023-11-16fix: typo in version embedseth
2023-11-16feat: add version commandseth
2023-11-16start using poiseseth
2023-10-13move client & logic into api moduleuku
2023-10-13add random_shiggy commanduku
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-06-02allow other servers to use most slash commandsseth
2023-04-13add astral copypasta + include/ -> copypastas/seth
2023-04-11fix sending very long copypastasseth
2023-04-07add bottom subcommandsseth