1 KiB
1 KiB
copper
Copper is a smart MultiPlayerPiano bot written in Rust.
It features Austin's (nitsua) midi parser and player, which is meant for high-performance and to be able to parse black midis.
Warning
Clone this repository with git clone --recursive https://git.sad.ovh/sophie/copper.
Features
- 2 billion note per second parser with all modern midi features supported
- Full economy system written using
sqlxand postgres - Lots of generic MPP bot features such as following, moving between rooms, et cetera
Todo
- Playlist has hardcoded Playlist
- Get rid of all mentions of files.sad.ovh as it's my copyparty server, and make it customizable to other servers.
Running
- Requirements: Rust Nightly, should be automatically used when you do cargo run.
cargo install- Add config.hocon, example:
database {
url: "postgres://user:pass@ip:port/database"
}
commands {
prefix: "r"
name: "Copper"
}
client {
token: "token"
ws: "wss://mppclone.com"
room: "cheez"
}
- Simple as that,
cargo run.