first commit

This commit is contained in:
Soph :3 2024-07-16 23:54:30 +03:00
commit c6f462ca45
Signed by: sophie
GPG key ID: EDA5D222A0C270F2
8 changed files with 1611 additions and 0 deletions

27
README.md Normal file
View file

@ -0,0 +1,27 @@
# pianoverse client for TS
## install
run `bun add https://git.sad.ovh/sophie/pianoverse`
then import `pianoverse`
## requirements
1. bun
2. a brain
## example
```ts
import { Client } from "pianoverse"
const client = new Client("https://pianoverse.net");
client.on("open", () => {
client.setRoom("Lobby")
client.setProfile("My Bot!")
})
client.on("message", (user, content) => {
if(content == "!help") {
client.message("Hi :P")
}
})
```