A powerful NPM module that allows you to easily interact with the Guilded API.
Links
Packages
guilded.ts
( NPM ) - The main package for interacting with the official Guilded API.guilded-api-typings
( NPM ) - Type definitions for the Guilded API.@guildedts/builders
( NPM ) - A set of builders for creating a Guilded bot.@guildedts/rest
( NPM ) - The REST API manager for Guilded.TS.@guildedts/ws
( NPM ) The Websocket API manager for Guilded.TS.
Installation
npm i guilded.ts
yarn add guilded.ts
pnpm add guilded.ts
Example bot
import Client, { Embed } from 'guilded.ts';
const { Client, Embed } = require('guilded.ts');
const client = new Client();
client.once('ready', () => console.log(`[READY] Logged in as ${client.user.name}.`));
client.on('messageCreate', (message) => {
if (message.content?.toLowerCase() !== 'ping') return;
const embed = new Embed()
.setTitle('Pong!')
.setDescription('This is the ping command!')
.setColor('GREEN');
message.reply({ content: 'Pong!', embeds: [embed] });
});
client.login('YOUR_BOT_TOKEN');
Contributing
Contribute to Guilded.TS.
Maintained by Gamertike. | Inspired by discord.js.