Code Monkey home page Code Monkey logo

guilded.js's Introduction

guildedjs

Tools for interacting with the official Guilded.gg API.


CI License: MIT

๐Ÿ“ About

This repo serves as a monorepo that houses several packages, mainly the guilded.js package, which is a library for the Guilded API.

๐Ÿ“ฆ Packages

  • guilded.js (GitHub, NPM) - Main library that ties everything together. Has additional logic for caching.
  • @guildedjs/gil (GitHub, NPM) - Framework allowing you to build bots with ease.
  • @guildedjs/guilded-api-types (GitHub, NPM) - Interfacing directly with the API without using guilded.js? This package provides typings covering the entire API.
  • @guildedjs/webhook-client (GitHub, NPM) - Library agnostic client for interacting with webhooks.
  • @guildedjs/rest (GitHub, NPM) - Utility for making REST requests to the Guilded API. Includes ratelimit handling.
  • @guildedjs/ws (GitHub, NPM) - Utility for connecting to Guilded's WebSocket gateway and receiving events.

๐Ÿ“ฅ Installation

NPM

Recommended that you use node v12+

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

โšก Usage

You can find extra examples here

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();

๐Ÿ“ƒ Documentation

Documentation is viewable here: https://guilded.js.org

โœ‹ Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

We make use of PNPM and Changeset to manage our monorepo. It's recommended that if you plan on contributing, you use these tools.

Please run pnpm install -r in your local environment to properly locally symlink all the packages that depend on each other.

Please ensure your commits pass the test, lint, and build scripts.

๐Ÿค Acknowledgements

Discord.js - Inspiration & derived work.

โš–๏ธ LICENSING

Guilded.JS ยฉ zaida04. All packages released under MIT.

Maintained by: zaida04, Skillz4Killz, Uhuh, and DaStormer

guilded.js's People

Contributors

zaida04 avatar renovate[bot] avatar dastormer avatar skillz4killz avatar uhuh avatar saboooor avatar zanedragonborn avatar ashcorpdev avatar itznxthaniel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.