Skip to content
This repository was archived by the owner on Nov 27, 2021. It is now read-only.

Latest commit

 

History

History
44 lines (29 loc) · 841 Bytes

README.md

File metadata and controls

44 lines (29 loc) · 841 Bytes

Transformice.js (WIP)

This library is no longer maintained, check out cheeseformice/transformice.js for a mantained work

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", );