Skip to content

DinographicPixels/TouchGuild

Repository files navigation


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.


🔬 Data & Analytics

Data collection is enabled by default for improving and making statistics. This includes collecting application IDs, guild count, build info, method execution counts, latency data, and application command usage.

Learn more.

For transparency, you can review the source code.

If this is a concern and you rather opt out, consider disabling the dataCollection client option.

If some of your data have already been collected and want to the removal of them, consider contacting us: [email protected]


Links: