Guilded.JS

Guilded.js is a library written in TypeScript usable in either TypeScript or JavaScript projects. It provides structures, abstractions, and utilities for interaction with the Guilded API.

const { Client } = require("guilded.js"); // import { Client } from "guilded.js"; const client = new Client({ token: "TOKEN_HERE" }); client.on("ready", () => console.log(`Bot is successfully logged in`)); client.on("messageCreated", (message) => { if (message.content === "test") { return message.reply("test indeed"); } }); client.login();