update readme to be way better, and bump PV & package.json

This commit is contained in:
Soph :3 2024-07-23 11:58:21 +03:00
parent 039582baae
commit 53ca898b13
Signed by: sophie
GPG key ID: EDA5D222A0C270F2
3 changed files with 12 additions and 11 deletions

View file

@ -1,14 +1,15 @@
# pianoverse client for TS
# pianoverse.net protodef's and client
This contains the protocol definitions for pianoverse.net. Reversed from using protobuf_inspector on the packets sent through server and client.
## install
run `bun add pianoverse`
then import `pianoverse`
## Requirements
1. [Bun](https://bun.sh/docs/installation)
## requirements
1. bun
2. a brain
## Contact
Please contact me on Discord @fucksophie. I'm in the pianoverse discord. You can also find me [elsewhere](https://sad.ovh).
## Example
The general API is styled after MPP clients, which Pianoverse has quite a lot of similarities with.
## example
```ts
import { Client } from "pianoverse"
@ -24,4 +25,4 @@ client.on("message", (user, content) => {
client.message("Hi :P")
}
})
```
```