TouchGuild


const { Client } = require("touchguild");
const client = new Client({ token: "TOKEN" });

client.on("ready", () => {
console.log(`Logged as ${client.user.username}`);
});

client.on('error', (err) => {
console.error(err);
});

client.connect();

For more examples, check out the examples folder on GitHub.


Installation

NodeJS 16.16.0 or higher is required. Check out Development Builds if you wish to install in-dev versions.

npm install touchguild

Development Builds

npm install touchguild@dev

The documentation under dev is always for the latest commit. If something isn't working that's in the documentation, you're likely looking at the wrong documentation.


Links: