An API Wrapper For TETR.IO
$ npm i tetr.js --save
const { Client } = require("tetr.js");
(async () => {
const client = new Client();
await client.login("YOUR-TOKEN-HERE");
console.log("Bot online");
})();
Feedback and PRs are welcome!
This project is licensed under the MIT License. See LICENSE for details.
TETR.JS is not associated with TETR.IO or osk. The token provided must match an account that has been approved as a bot account. Contact TETR.IO Support to request a bot account.
Special thanks to Poyo-SSB for documenting how the TETR.IO Ribbon system operates.