Public Youmubot system, modular (I hope!) and safe and fast...
Find a file
dependabot[bot] 79b17414c5
Bump ring from 0.17.7 to 0.17.14 (#63)
Bumps [ring](https://github.com/briansmith/ring) from 0.17.7 to 0.17.14.
- [Changelog](https://github.com/briansmith/ring/blob/main/RELEASES.md)
- [Commits](https://github.com/briansmith/ring/commits)

---
updated-dependencies:
- dependency-name: ring
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-29 16:55:20 +01:00
.github/workflows osu: Some lazer-related stat reconsideration (#56) 2024-12-21 23:05:15 +00:00
.sqlx ignore command (#59) 2025-03-27 15:13:00 +01:00
youmubot ignore command (#59) 2025-03-27 15:13:00 +01:00
youmubot-cf pagination: make editing generic over a CanEdit interface 2025-02-20 22:54:38 +01:00
youmubot-core ignore command (#59) 2025-03-27 15:13:00 +01:00
youmubot-db Just stop the warnings T_T 2025-02-20 18:19:00 +01:00
youmubot-db-sql ignore command (#59) 2025-03-27 15:13:00 +01:00
youmubot-osu osu: Allow returning a full file instead when requesting a table check/leaderboard 2025-03-10 15:51:52 +01:00
youmubot-prelude ignore command (#59) 2025-03-27 15:13:00 +01: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 ring from 0.17.7 to 0.17.14 (#63) 2025-03-29 16:55:20 +01:00
Cargo.toml Just stop the warnings T_T 2025-02-20 18:19:00 +01:00
flake.lock Update rust and its dependencies 2024-12-21 17:39:48 +01:00
flake.nix Set substituters to extra in flake 2025-02-20 18:19:00 +01: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 Move from naersk to crane 2024-02-17 19:17:38 +00:00
README.md Update README for sqlx related commands 2025-03-29 16:54:02 +01:00
rust-toolchain.toml Use TOML format for rust-toolchain 2025-03-28 16:37:40 +01: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.