@guildeno/rest
v0.6.1
Published
Guildeno Rest
Downloads
15
Maintainers
Readme
Guildeno Rest
This package contains the code for Guildeno's Rest.
Guildeno follows Semantic Versioning
Installation
Install with NPM:
$ npm install @guildeno/rest
Usage
import { createRest } from "@guildeno/rest";
const rest = createRest({
token: process.env.TOKEN,
});
(async () => {
const message = await rest.helpers.createMessage("Channel UUID", { content: "Hello Guilded!" });
console.log({ message });
})();