1.4.1 • Published 10 months ago

touchguild v1.4.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
10 months ago

TouchGuild is a library that supports TS, JS (cjs and esm) and it was built to let you interface with the Guilded API. It has easy & predictable types, some of them are inspired by Discord Eris.


Early access library

The library recently launched and we need to make sure that you do not encounter bugs, that's why, we're realsing it in Early access. When TouchGuild will be stable enough, we'll switch to 'B.E.T.A' since the Guilded API is still in early access.

NIGHTLY BUILD

Be aware that Nightly builds aren't stable and can have still have major bugs. If you face issues, feel free to report it by creating an issue on TouchGuild's GitHub, please specify that you're using a Nightly build.

What's new on Nightly builds?

Check docs/nightly for more details about new features: https://docs.touchguild.dinographicpixels.com/nightly/features

Guide, documentation & even more

Everything's to help you to get started, to create an incredible guilded bot through our Library.

Links:

🌟 Get started

Get started, it's easy.

NodeJS 16.16.0 or higher is required.

Installation (Nightly)

Install the package with NPM through GitHub:

npm install dinographicpixels/touchguild#nightly

Install the package through NPM:

npm install touchguild@nightly

Basic scripting (ping, pong!)

Let's get started, it'll be easy examples for ya!

For example, we'll create a simple ping pong script, a well known command!

Javascript & Typescript:

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'}) // create client

Client.connect();

Client.on('messageCreate', (message)=> {
    // Detects when a message is created and executes the code here.
    if (message.member.bot == true) return; // ignores bot messages.
    if (message.content == '!ping'){
        // if the message command is !ping, it executes the code here.
        message.createMessage({content: 'pong!'}); // create a message.
    }
});

Install stable builds

Install stable builds with npm:

npm install touchguild@latest

Install stable builds with yarn:

yarn add touchguild
1.3.1-dev.78eb85f

11 months ago

1.3.1-dev.fc02b37

11 months ago

1.4.2-dev.3f2dce8

10 months ago

1.4.1-dev.bf13107

11 months ago

1.4.2-dev.7fdf889

10 months ago

1.4.2-dev.1092a9b

11 months ago

1.4.2-dev.1ad43ac

10 months ago

1.4.1

11 months ago

1.4.0

11 months ago

1.3.1-dev.ef07343

11 months ago

1.3.1-dev.9da4fe9

11 months ago

1.3.1-dev.83e25c6

11 months ago

1.3.1-dev.f00b6a4

11 months ago

1.3.1-dev.65bf888

11 months ago

1.3.1-dev.8b966e7

11 months ago

1.3.1-dev.05d058c

11 months ago

1.4.1-dev.550e0f8

11 months ago

1.3.1-dev.e350de8

11 months ago

1.3.1-dev.e2c6cf9

11 months ago

1.3.1-dev.8d09b8a

11 months ago

1.3.1-dev.8142605

11 months ago

1.4.1-dev.026fc48

11 months ago

1.4.2-dev.911fc21

11 months ago

1.2.5

1 year ago

1.2.6-dev.2c9832f

12 months ago

1.2.6-dev.74b9409

12 months ago

1.2.6-dev.d0081ae

12 months ago

1.3.1-dev.5eedeed

12 months ago

1.3.1-dev.43ead8b

11 months ago

1.3.1-dev.f6e9cc6

12 months ago

1.2.6-dev.9d11666

12 months ago

1.3.1-dev.0100f5c

11 months ago

1.2.6-dev.7bc1157

12 months ago

1.2.6-dev.77fc2a2

12 months ago

1.3.1-dev.98b1ba5

12 months ago

1.2.6-dev.25f20ab

12 months ago

1.2.6-dev.4ec14c0

12 months ago

1.2.6-dev.38b7f0b

12 months ago

1.2.6-dev.36f761f

12 months ago

1.2.6-dev.37f8617

12 months ago

1.3.1-dev.293dec5

11 months ago

1.2.6-dev.51ba907

12 months ago

1.2.6-dev.e242990

12 months ago

1.2.6-dev.fd819f8

12 months ago

1.2.6-dev.2567842

12 months ago

1.2.6-dev.c9b4121

12 months ago

1.2.6-dev.25ef4c6

12 months ago

1.2.6-dev.0a293dc

12 months ago

1.3.1-dev.3dbba9f

12 months ago

1.2.6-dev.ac044e8

12 months ago

1.2.6-dev.f65ace1

12 months ago

1.2.6-dev.c087963

12 months ago

1.2.6-dev.4121860

12 months ago

1.2.6-dev.1857917

12 months ago

1.2.6-dev.711b9ed

12 months ago

1.3.0

12 months ago

1.2.6-dev.320b272

12 months ago

1.3.1-dev.7673bc5

11 months ago

1.3.1-dev.dfe258d

12 months ago

1.2.6-dev.511c3f6

12 months ago

1.3.1-dev.b6e0be0

12 months ago

1.3.1-dev.7917043

12 months ago

1.2.6-dev.0296c08

12 months ago

1.2.6-dev.2986754

12 months ago

1.3.1-dev.7386c63

11 months ago

1.2.6-dev.23e228c

12 months ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

1.2.1

3 years ago

1.0.3

3 years ago

0.1.7-nightly.0

3 years ago

0.1.7-nightly

3 years ago

0.1.7

3 years ago

0.1.6-nightly.0

3 years ago

0.1.6-nightly.1

3 years ago

0.1.6-nightly.2

3 years ago

1.1.0

3 years ago

0.1.6-test.16

3 years ago

0.1.6-test.2

3 years ago

0.1.6-test.3

3 years ago

0.1.6-test.0

3 years ago

0.1.6-test.1

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago