Using the API to 'bot' your user account is a gray area in Guilded terms of ToU compliance. Use it on your own risk.
# NPM
npm install guildcord
# Yarn
yarn add guildcord
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);
});
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]
});
Guildcord is licensed under Apache-2.0