guilded.ts

0.20.2 • Public • Published

About

Guilded.TS is feature rich NPM package for interacting with the Guilded API.

Links

Packages

  • guilded.ts (GitHub | NPM) - The main package for interacting with the Guilded API.
  • guilded-api-typings (GitHub | NPM) - Type definitions for the Guilded API.
  • @guildedts/framework (GitHub | NPM) - A framework for creating a Guilded bot.
  • @guildedts/builders (GitHub | NPM) - A set of builders for creating a Guilded bot.
  • @guildedts/rest (GitHub | NPM) - The REST API manager for Guilded.TS.
  • @guildedts/ws (GitHub | NPM) - The Websocket API manager for Guilded.TS.

Installation

  • npm i guilded.ts
  • yarn add guilded.ts
  • pnpm add guilded.ts

Example usage

import Client from 'guilded.ts';
// Or
const { Client } = require('guilded.ts');

const client = new Client();

client.once('ready', () => console.log(`Logged in as ${client.user!.name}`));
client.on('disconnect', () => console.log('Disconnected from Guilded'));
client.on('messageCreate', (message) => {
	if (message.content === 'ping') message.reply('Pong!');
});

client.login('BOT_TOKEN');

Maintained by Gamertike | Contribute | Inspired by discord.js

Readme

Keywords

Package Sidebar

Install

npm i guilded.ts

Weekly Downloads

4

Version

0.20.2

License

Apache-2.0

Unpacked Size

521 kB

Total Files

236

Last publish

Collaborators

  • gamertike