# 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 `sqlx` and 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 1. Requirements: Rust Nightly, should be automatically used when you do cargo run. 2. `cargo install` 3. Add config.hocon, example: ```hocon database { url: "postgres://user:pass@ip:port/database" } commands { prefix: "r" name: "Copper" } client { token: "token" ws: "wss://mppclone.com" room: "cheez" } ``` 4. Simple as that, `cargo run`.