guilded.js
TypeScript icon, indicating that this package has built-in type declarations

0.24.2 • Public • Published

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

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

Manual Installation

  • npm install guilded.js
  • yarn add guilded.js
  • pnpm 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

Package Sidebar

Install

npm i guilded.js

Weekly Downloads

212

Version

0.24.2

License

MIT

Unpacked Size

615 kB

Total Files

261

Last publish

Collaborators

  • nico.03727