Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/polish-penguin-dev/singularity
https://github.com/polish-penguin-dev/singularity
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/polish-penguin-dev/singularity
- Owner: polish-penguin-dev
- Created: 2023-09-30T18:13:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-07T23:33:47.000Z (over 1 year ago)
- Last Synced: 2024-08-11T08:52:27.017Z (5 months ago)
- Language: JavaScript
- Homepage: replit.com/@polish-penguin-dev/Singularity
- Size: 2.8 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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!
```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!