0.0.4-dev • Published 1 year ago
crimson.js v0.0.4-dev
crimson.js
my attempt at building a library for interacting with both main tetr.io api and tetra channel.
use an approved bot account btw
initial ribbon code is stolen from craftxbox/Autohost, forked from Zudo/autohost
shout out to them !!
my discord server
tetr.io bot docs
tetra channel api docs
npm
how to build
- install typescript
- run
npm install
ornpm install --production=false
- then run
tsc
and it will emits those source files to./out/
- bundle them by running
npx run bundle
it should bundle all of the files into
./dist/
this thing is still pretty messy so any contribution (especially for ideas on naming things) is appreciated.
some current examples: ./demo/