Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/polish-penguin-dev/singularity


https://github.com/polish-penguin-dev/singularity

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# 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!

```js
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](https://github.com/polish-penguin-dev/Singularity/wiki) to learn more!