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