Skip to content

A simple library for interacting with the Guilded Client API.

License

Notifications You must be signed in to change notification settings

guildcord/guildcord-deprecated

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guildcord


Guildcord server NPM Version NPM Downloads

About

Guildcord is a simple Node.js module to interact with the Guilded Client API.


Note ⚠️

Using the API to 'bot' your user account is a gray area in Guilded terms of ToU compliance. Use it on your own risk.



Installation

# NPM
npm install guildcord

# Yarn
yarn add guildcord

Usage

Basic Login v1.2.0

const { Client } = require("guildcord");
const client = new Client();

client.login("email", "password"); // This connection won't stay long until next update.

client.on("ready", () => {
    console.log(client.user.id);
});

Send Webhook

const { Webhook, Embed } = require("guildcord");
const hook = new Webhook({
    url: "Guilded webhook url"
});

hook.send("Hello World");

// With embed
const Guildcord = new Embed()
    .assignTitle("Guildcord")
    .assignDescription("A simple library for interacting with the Client API")
    .assignColor(5814783)
    .assignTitleUrl("https://github.com/guildcord/guildcord");

hook.send({
  content: "About Guildcord",
  embeds: [Guildcord]
});

License

Guildcord is licensed under Apache-2.0

About

A simple library for interacting with the Guilded Client API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published