Coder Social home page Coder Social logo

serverdeveloper9447 / guilded.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zaida04/guilded.js

0.0 0.0 0.0 7.77 MB

Tools for creating bots with the guilded.gg bot API. Usable in either JavaScript or TypeScript projects

Home Page: https://guilded.js.org

License: MIT License

Shell 0.01% TypeScript 98.82% Dockerfile 0.13% JavaScript 1.02% CSS 0.02%

guilded.js's Introduction

guildedjs

Tools for interacting with the official Guilded.gg API.


CI License: MIT

Looking for maintainers!

Do you have an interest in the Guilded API and have prior experience with working with typescript libraries? Make an issue in this github repository or shoot us a message in our Guilded Server!

๐Ÿ“ 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/api (GitHub, NPM) - Multi-use wrapper over the entire Guilded API. Covers rest requests and ws connections.

๐Ÿ“ฅ 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

โšก 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

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

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

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.