pianoverse/README.md
Soph :3 039582baae
modified: README.md
modified:   package.json

im evil
2024-07-21 00:04:21 +03:00

442 B

pianoverse client for TS

install

run bun add pianoverse then import pianoverse

requirements

  1. bun
  2. a brain

example

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")
    }
})