Coder Social home page Coder Social logo

fern-js / atlas Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 14 KB

:computer: A database for your development needs.

Home Page: https://atlas.fern.js.org

api api-client guilded guilded-api guilded-api-wrapper javascript rest typescript wrapper ws

atlas's Introduction

Atlas logo

Atlas.js is a Node.js library that provides a high level way to communicate with the Guilded API. The entire point of Atlas.js is to improve your time making Guilded bots, targetting utter simplicity.

If you would like any help using Atlas then please consider adding our Atlas Docs. This bot allows you to scour through the Atlas documentation should you need help with anything.

Note: The "Atlas Docs" bot and the official Atlas.js documentation are not available currently in the initial development stages. Please come back again until this notice is removed.

Also, if you are interested in checking out the other Fern projects, make sure to view the Fern organization (the team that built the Fern web framework and fernengine templating engine to go along it).

Getting Started

Installation

Atlas.js can simply be installed through the npm registry.

npm install atlas.js
yarn add atlas.js
pnpm add atlas.js

Note: We highly recommend using yarn, because you may come across some dependency/build errors with npm or pnpm. These bugs will be fixed in the alpha stages of Atlas.js.

Basic Usage

import { Atlas } from "atlas.js";

const bot = new Atlas({ token: "Enter your token here" });

bot.on("messageCreated", (message) => {
  message.createMessage({ content: "hello", channel: message.channel.id });
  // Or, the shorthand method for that would be:
  message.channel.createMessage("hello");
});

bot.login({ dev: true });
// The `dev` option enables automatic logging for internal processes

Contributing

Contributions are very welcomed, however please follow the below guidelines.

  • First open an issue describing the bug or enhancement so it can be discussed.
  • Try to match current naming conventions as closely as possible.
  • This package is intended to be a low level direct mapping of the Discord API, so please avoid adding enhancements outside of that scope without first discussing it.
  • Create a Pull Request with your changes against the master branch.

atlas's People

Contributors

atomisadev 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.