0.0.1 • Published 4 years ago
@zaida04/guilded-js v0.0.1
This project is currently in a Work In Progress stage and is not ready for usage yet.
About
guildedjs is an API wrapper for Guilded.gg, a discord alternative. This was created due to the lack of an api wrapper written in TS for the guilded api. This library is heavily influenced by discord.js. Thank you to the amazing team over there.
Installation
guildedjs is tested on nodejs >12.0.0
npm install @zaida04/guildedjs
Example usage
import { Client } from "guildedjs";
// Or const { Client } = require("guildedjs");
const GuildedClient = Client();
GuildedClient.on('ready', () => {
console.log(`Bot is successfully logged in`);
});
GuildedClient.on("messageCreate", message => {
if(message.content === "pogger") {
return message.channel.send("poggers indeed");
}
})
GuildedClient.login('token');
Contributing
We welcome contributions from people of all skill levels. Please refer to our contributing guide for more info.
LICENSING
Created ~10/18/2020
guildedjs © zaida04, Released under the MIT License.
Authored by zaida04.
GitHub @zaida04
0.0.1
4 years ago