touchguild
TypeScript icon, indicating that this package has built-in type declarations

1.2.4 • Public • Published


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:

Package Sidebar

Install

npm i touchguild

Weekly Downloads

4

Version

1.2.4

License

Apache-2.0

Unpacked Size

2.01 MB

Total Files

271

Last publish

Collaborators

  • pakkographic