Module guilded.js

Guilded.js

A Node.js library for the Guilded.gg API.

CI License: MIT

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 === "poggers") {
return message.reply("test indeed");
}
});

client.login();

📝 About

guilded.js is a library written in TypeScript usable in either TypeScript or JavaScript projects. It provides structures, abstraction, and utilities for interaction between your bot and the Guilded API.

📥 Installation

NPM

Recommended that you use node v18+

Using create-guilded-app

  • npm init guilded-app <project-name>
  • yarn create guilded-app <project-name>
  • pnpm create guilded-app <project-name>
  • bun create guilded-app <project-name>

Manual Installation

  • npm install guilded.js
  • yarn add guilded.js
  • pnpm add guilded.js
  • bun add guilded.js

📃 Documentation

Looking for all the Client events? See here

Documentation is viewable here: https://guilded.js.org
A general purpose guide is available here: https://guilded-js.gitbook.io/api-docs/

✋ Contributing

Please see the main README.md for info on how to contribute to this package or the other @guildedjs packages.

🤝 Acknowledgements

⚖️ LICENSING

Licensed under the MIT License

Index

Enumerations

Classes

Type Aliases

Variables

Functions

Generated using TypeDoc