Public Youmubot system, modular (I hope!) and safe and fast...
Find a file
dependabot[bot] 3190083103
Some checks failed
Build and Test / Format check (push) Has been cancelled
Build and Test / Lint (push) Has been cancelled
Build and Test / Test (push) Has been cancelled
Build and Test / Check dependency hash (push) Has been cancelled
Build and Test / Build (push) Has been cancelled
Bump openssl from 0.10.71 to 0.10.72 (#68)
2025-04-08 07:14:16 +02:00
.github/workflows Migrate from crane back to buildRustPackage 2025-03-31 16:13:51 +02:00
.sqlx ignore command (#59) 2025-03-27 15:13:00 +01:00
youmubot Bump tokio from 1.44.1 to 1.44.2 (#69) 2025-04-08 07:12:25 +02:00
youmubot-cf Bump tokio from 1.44.1 to 1.44.2 (#69) 2025-04-08 07:12:25 +02:00
youmubot-core Bump tokio from 1.44.1 to 1.44.2 (#69) 2025-04-08 07:12:25 +02:00
youmubot-db Just stop the warnings T_T 2025-02-20 18:19:00 +01:00
youmubot-db-sql Bump thiserror to version 2 (#66) 2025-04-02 16:33:32 +02:00
youmubot-osu Update dependencies (#67) 2025-04-01 13:22:08 +00:00
youmubot-prelude Bump tokio from 1.44.1 to 1.44.2 (#69) 2025-04-08 07:12:25 +02:00
.drone.yml Push rust to 1.44 2020-06-14 21:52:13 -04:00
.envrc Add flake 2021-11-03 12:58:09 -04:00
.gitignore Add flake 2021-11-03 12:58:09 -04:00
Cargo.lock Bump openssl from 0.10.71 to 0.10.72 (#68) 2025-04-08 07:14:16 +02:00
Cargo.toml Just stop the warnings T_T 2025-02-20 18:19:00 +01:00
flake.lock Update dependencies (#67) 2025-04-01 13:22:08 +00:00
flake.nix Migrate from crane back to buildRustPackage 2025-03-31 16:13:51 +02:00
LICENSE License 2019-10-25 14:34:47 -04:00
module.nix Make nix module and overlay system-agnostic 2023-06-20 01:20:54 +02:00
package.nix Update dependencies (#67) 2025-04-01 13:22:08 +00:00
README.md Update README for sqlx related commands 2025-03-29 16:54:02 +01:00
rust-toolchain.toml Update dependencies (#67) 2025-04-01 13:22:08 +00:00

youmubot

Deploy Build and Test

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, community
  • youmubot-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.