mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-04-19 00:38:54 +00:00
29 lines
844 B
Markdown
29 lines
844 B
Markdown
# 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, community
|
|
- `youmubot-osu`: osu!-related commands.
|
|
|
|
## Working with `sqlx`
|
|
|
|
### Regenerate compiler information
|
|
|
|
From within `./youmubot-db-sql` run
|
|
```bash
|
|
cargo sqlx prepare --database-url "sqlite:$(realpath ..)/youmubot.db"
|
|
```
|
|
|
|
## License
|
|
|
|
Basically MIT.
|