singularity-discord

1.0.1 • Public • Published

Singularity

version downloads docs publish

The simplest, cleanest Discord API wrapper written in node.

Singularity is super lightweight, with batteries included. Give it a try!

Examples:

Ping/Pong!

const Client = require("singularity-discord");
const client = new Client({ token: process.env.token, intents: 33281 });

client.on("MESSAGE_CREATE", async (msg) => {
    if (msg.content === "ping") {
      client.messages.send(msg.channel_id, "pong!");
    }
});

client.login();

Check out the wiki to learn more!

Readme

Keywords

Package Sidebar

Install

npm i singularity-discord

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

11.3 kB

Total Files

8

Last publish

Collaborators

  • polish-penguin-dev