TouchGuild


const TouchGuild = require('touchguild'); // import for CommonJS
// import * as TouchGuild from 'touchguild' // import for ESM & TS

const client = new TouchGuild.Client({token: 'insert token here'});

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

client.on('error', (err)=> {
console.error("Whoops, somethin' went wrong..", err);
});

client.connect();

This build is a development build. (Nightly)

Nightly builds are in development builds and features are constantly added & we also note that those builds can have bugs.


Installation

NodeJS 16.16.0 or higher is required.

Install the package automatically:

npm install touchguild@nightly

Install the package manually:

npm install dinographicpixels/touchguild#nightly
  1. Run the command
  2. Go to node_modules/touchguild
  3. Run: npm run build in the touchguild folder
  4. Now, it's ready.

You need to reproduce those steps everytime you update to a newer nightly build.


What's new on Nightly builds?


LINKS:

Repository & NPM

Guide & documentation

Additional links

Our servers