tetr.js
TypeScript icon, indicating that this package has built-in type declarations

4.6.1 • Public • Published

An API Wrapper For TETR.IO

Install

$ npm i tetr.js --save

Example

const { Client } = require("tetr.js");

(async () => {
  const client = new Client();

  await client.login("YOUR-TOKEN-HERE");

  console.log("Bot online");
})();

Technologies

Contributing

Feedback and PRs are welcome!

Discord

License

This project is licensed under the MIT License. See LICENSE for details.

Disclaimer

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 osk on Discord to receive such bot accounts.

Credits

Special thanks to Poyo-SSB for documenting how the TETR.IO Ribbon system operates.

/tetr.js/

    Package Sidebar

    Install

    npm i tetr.js

    Weekly Downloads

    20

    Version

    4.6.1

    License

    MIT

    Unpacked Size

    136 kB

    Total Files

    108

    Last publish

    Collaborators

    • proximitynow19
    • superfire