singularity-discord
v1.0.1
Published
The simplest, cleanest Discord API wrapper written in node.
Maintainers
Readme
Singularity
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!
