mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-04-10 04:30:29 +00:00
Public Youmubot system, modular (I hope!) and safe and fast...
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.66 to 0.10.71. - [Release notes](https://github.com/sfackler/rust-openssl/releases) - [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.66...openssl-v0.10.71) --- updated-dependencies: - dependency-name: openssl dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
---|---|---|
.github/workflows | ||
.sqlx | ||
youmubot | ||
youmubot-cf | ||
youmubot-core | ||
youmubot-db | ||
youmubot-db-sql | ||
youmubot-osu | ||
youmubot-prelude | ||
.drone.yml | ||
.envrc | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
module.nix | ||
package.nix | ||
README.md | ||
rust-toolchain.toml |
youmubot
A Discord bot made specifically for server "Dự tuyển Tổng Hợp". Written in Rust.
All PRs welcome.
Project structure
youmubot
: The main command. Collect configurations and dispatch commands.youmubot-prelude
: Base structures and handy functions for command parsing / service handling.youmubot-db
: Base database structures.youmubot-core
: Core commands: admin, fun, communityyoumubot-osu
: osu!-related commands.
Working with sqlx
Regenerate compiler information
The commands expect the cwd to be at the project base directory.
Manually run migrations with
sqlx migrate run --database-url "sqlite:./youmubot.db" --source ./youmubot-db-sql/migrations
Update compiler information with
cargo sqlx prepare --database-url "sqlite:./youmubot.db" --workspace
License
Basically MIT.