1.0.0-beta.1 • Published 3 years ago

transformice.js v1.0.0-beta.1

Weekly downloads
18
License
MIT
Repository
github
Last release
3 years ago

Transformice.js (WIP)

NodeJs Client for Transformice with full Typescript support.

Read the docs

Development

Clone the repository:

git clone https://github.com/SuspiciousLookingOwl/transformice.js

Install dependencies:

npm i

Watch and compile files:

npm run dev

Example

const { Client, enums } = require("transformice.js");

const client = new Client("username", "password", {
	language: enums.languages.en
});

client.on("roomMessage", (message) => {
	if (client.name === message.author.name) return;
	client.sendRoomMessage(message.author.look);
});

client.run("tfm_id", "token", );