guilded.js
v0.24.2
Published
A Node.js library for the Guilded.gg (https://www.guilded.gg/) API written in TypeScript, usable in either JavaScript or TypeScript projects.
Downloads
688
Maintainers
Readme
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
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
Discord.js
- Inspiration and caching strategy
⚖️ LICENSING
Licensed under the MIT License